Once again, we ask the question, "What are we drawing?" And once again, the answer is vertices. This time, though, there are two sets of vertices hence two objects.
117 var vertices = [ 118 -1.0, -1.0, 0.0, 119 1.0, 0.0, 0.0, 1.0, 120 1.0, -1.0, 0.0, 121 0.0, 1.0, 0.0, 1.0, 122 0.0, 1.0, 0.0, 123 0.0, 0.0, 1.0, 1.0 124 ]; 125 126 // And more of almost the same, but z=0.5. 127 var moreVertices = [ 128 -1.0, -1.0, 0.5, 129 0.0, 0.0, 1.0, 1.0, 130 1.0, -1.0, 0.5, 131 0.0, 1.0, 0.0, 1.0, 132 0.0, 1.0, 0.5, 133 1.0, 0.0, 0.0, 1.0 134 ];
Now, we pay attention to the third, z, coordinate. The first triangle remains at z=0
(-1,-1,0) (1,-1,0) (0,1,0)
The second set of vertices is at z=0.5.
(-1,-1,.5) (1,-1,.5) (0,1,.5)