1. Cliff Biffle
  2. kinect-viewer

Commits

Cliff Biffle  committed 15c2e95

Added an axis indicator.

  • Participants
  • Parent commits ee63c56
  • Branches default

Comments (0)

Files changed (1)

File KVDepthView.m

View file
 }
 
 - (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);
+  glEnd();
+  
   glBegin(GL_POINTS);
   glColor3f (1.0, 0.5, 0.0);
   for (int y = 0; y < 480; y++) {