Commits

Cliff Biffle committed ee63c56

Removed the cube vertex data.

  • Participants
  • Parent commits 8a801c1

Comments (0)

Files changed (1)

File KVDepthView.m

   [self resetCamera];
 }
 
-GLfloat cube_vertices [8][3] = {
-  {1.0, 1.0, 1.0}, {1.0, -1.0, 1.0}, {-1.0, -1.0, 1.0}, {-1.0, 1.0, 1.0},
-  {1.0, 1.0, -1.0}, {1.0, -1.0, -1.0}, {-1.0, -1.0, -1.0}, {-1.0, 1.0, -1.0} };
-
-GLfloat cube_vertex_colors [8][3] = {
-  {1.0, 1.0, 1.0}, {1.0, 1.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 1.0, 1.0},
-  {1.0, 0.0, 1.0}, {1.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, {0.0, 0.0, 1.0} };
-
-GLint num_faces = 6;
-
-short cube_faces [6][4] = {
-  {3, 2, 1, 0}, {2, 3, 7, 6}, {0, 1, 5, 4}, {3, 0, 4, 7}, {1, 2, 6, 5}, {4, 5, 6, 7} };
-
-
 - (void) drawRect: (NSRect)dirtyRect {
   [self resizeGL];
   [self updateModelView];