[artoolkit-commits] artoolkit/examples/twoView twoView.c, 1.16, 1.17
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2006-11-17 03:35:38
|
Update of /cvsroot/artoolkit/artoolkit/examples/twoView In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7525 Modified Files: twoView.c Log Message: arDebug fixes. Index: twoView.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/twoView/twoView.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** twoView.c 4 Oct 2006 03:45:01 -0000 1.16 --- twoView.c 17 Nov 2006 03:35:37 -0000 1.17 *************** *** 184,188 **** static int DrawCubeFinal(void) { ! if (!gDrawListBox) { free(gDrawListBox); gDrawListBox = NULL; --- 184,188 ---- static int DrawCubeFinal(void) { ! if (gDrawListBox) { free(gDrawListBox); gDrawListBox = NULL; *************** *** 359,362 **** --- 359,366 ---- gCallCountGetImage = 0; break; + case 'D': + case 'd': + arDebug = !arDebug; + break; case '?': case '/': *************** *** 364,367 **** --- 368,372 ---- printf(" q or [esc] Quit demo.\n"); printf(" c Change arglDrawMode and arglTexmapMode.\n"); + printf(" d Activate / deactivate debug mode.\n"); printf(" ? or / Show this help.\n"); printf("\nAdditionally, the ARVideo library supplied the following help text:\n"); |