Commits

Cliff Biffle  committed 97a26e2

Moved the axis indicators to the center of the view.

  • Participants
  • Parent commits 23ce9a9

Comments (0)

Files changed (1)

File KVDepthView.m

 - (void) drawDepthField {
   glBegin(GL_LINES);
   glColor3f(1, 1, 1);
-  glVertex3f(0, 0, 0);
-  glVertex3f(160, 0, 0);
-  glVertex3f(0, 0, 0);
-  glVertex3f(0, 160, 0);
-  glVertex3f(0, 0, 0);
-  glVertex3f(0, 0, 1);
+  glVertex3f(320, 240, 0);
+  glVertex3f(480, 240, 0);
+  
+  glVertex3f(320, 240, 0);
+  glVertex3f(320, 360, 0);
+  
+  glVertex3f(320, 240, 0);
+  glVertex3f(320, 240, 1);
   glEnd();
   
   const uint16_t *depths = [rawDepthField bytes];