GLfloat gCubeVertexData[] = { // Data layout for each line below is: // positionX, positionY, positionZ, normalX, normalY, normalZ, // x y x nx ny nz 1, 1, 1, 1, 0, 0, 1, 1, -1, 1, 0, 0, 1, -1, 1, 1, 0, 0 };