[artoolkit-commits] artoolkit/examples/simpleVRML simpleVRML.c,1.2,1.3
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2005-02-18 04:18:39
|
Update of /cvsroot/artoolkit/artoolkit/examples/simpleVRML In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12921 Modified Files: simpleVRML.c Log Message: Revert to use of int rather than BOOL. Index: simpleVRML.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simpleVRML/simpleVRML.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simpleVRML.c 1 Dec 2004 20:50:56 -0000 1.2 --- simpleVRML.c 18 Feb 2005 04:18:30 -0000 1.3 *************** *** 79,83 **** // Preferences. ! static BOOL prefWindowed = TRUE; static int prefWidth = 640; // Fullscreen mode width. static int prefHeight = 480; // Fullscreen mode height. --- 79,83 ---- // Preferences. ! static int prefWindowed = TRUE; static int prefWidth = 640; // Fullscreen mode width. static int prefHeight = 480; // Fullscreen mode height. *************** *** 90,94 **** static ARParam gARTCparam; static ARUint8 *gARTImage = NULL; ! static BOOL gPatt_found; static ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL; --- 90,94 ---- static ARParam gARTCparam; static ARUint8 *gARTImage = NULL; ! static int gPatt_found; static ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL; *************** *** 103,107 **** // Sets up gARTCparam. ! static BOOL demoARSetupCamera(const char *cparam_name, char *vconf) { ARParam wparam; --- 103,107 ---- // Sets up gARTCparam. ! static int demoARSetupCamera(const char *cparam_name, char *vconf) { ARParam wparam; *************** *** 136,140 **** } ! static BOOL demoARSetupMarkersObjects(void) { // Load in the object data - trained markers and associated bitmap files. --- 136,140 ---- } ! static int demoARSetupMarkersObjects(void) { // Load in the object data - trained markers and associated bitmap files. |