normals, vertexIndices) -> @draw_mode = GL_TRIANGLE_STRIP size = 1.0 # 1 unit high, 1 unit wide [width, height] = [size / 2, size / 2] # vertex 1 vertex 2 vertex 3 vertex 4 # vertices.push -width,height,0, -width,-height,0, width,height,0, width,-height,0 colors.push 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1 textureCoords.push 0,1, 0,0, 1,1, 1,0 normals.push 0,0,1, 0,0,1, 0,0,1, 0,0,1 vertexIndices.push 0, 1, 2, 3