Vertex Array
Hier das Vertex Array in Javascript
- var cubePositions = [
- +0.0, +0.0, +0.0,
-0.5, -0.3, +0.5,
+0.5, -0.3, +0.5,
+0.0, +0.0, +0.0, - +0.5, -0.3, +0.5,
- +0.5, -0.3, -0.5,
+0.0, +0.0, +0.0,
+0.5, -0.3, -0.5,
-0.5, -0.3, -0.5,
+0.0, +0.0, +0.0,
-0.5, -0.3, -0.5,
-0.5, -0.3, +0.5 - ];