[artoolkit-commits] artoolkit/examples/simpleLite simpleLite.c, 1.19, 1.20
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2006-11-17 03:34:27
|
Update of /cvsroot/artoolkit/artoolkit/examples/simpleLite In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7103 Modified Files: simpleLite.c Log Message: arDebug fixes. Index: simpleLite.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simpleLite/simpleLite.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** simpleLite.c 4 Oct 2006 03:44:52 -0000 1.19 --- simpleLite.c 17 Nov 2006 03:34:25 -0000 1.20 *************** *** 268,271 **** --- 268,275 ---- debugReportMode(); break; + case 'D': + case 'd': + arDebug = !arDebug; + break; case '?': case '/': *************** *** 273,276 **** --- 277,281 ---- 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"); *************** *** 411,416 **** { char glutGamemode[32]; ! const char *cparam_name = ! "Data/camera_para.dat"; // // Camera configuration. --- 416,420 ---- { char glutGamemode[32]; ! const char *cparam_name = "Data/camera_para.dat"; // // Camera configuration. *************** *** 454,458 **** glutEnterGameMode(); } else { ! glutInitWindowSize(gARTCparam.xsize, gARTCparam.ysize); glutCreateWindow(argv[0]); } --- 458,462 ---- glutEnterGameMode(); } else { ! glutInitWindowSize(prefWidth, prefHeight); glutCreateWindow(argv[0]); } |