- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 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