- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
...
private var debugTris :Boolean = false;
public function TerrainScene() {
super();
}
private function toggleDebugTriangles():void {
debugTris = !debugTris;
if (debugTris) { // randomise vertex colours so we can see the triangles...
bitmapPoly.material.asColorMaterial.randomiseVertexColors();
...
Комментарии (4) RSS
Добавить комментарий