[artoolkit-commits] artoolkit/examples/simpleLite simpleLite.c,1.3,1.4
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2005-02-18 04:19:01
|
Update of /cvsroot/artoolkit/artoolkit/examples/simpleLite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13003 Modified Files: simpleLite.c Log Message: Revert to use of int rather than BOOL. Index: simpleLite.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simpleLite/simpleLite.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** simpleLite.c 1 Dec 2004 20:51:03 -0000 1.3 --- simpleLite.c 18 Feb 2005 04:18:43 -0000 1.4 *************** *** 66,70 **** // Preferences. ! static BOOL prefWindowed = TRUE; static int prefWidth = 640; // Fullscreen mode width. static int prefHeight = 480; // Fullscreen mode height. --- 66,70 ---- // Preferences. ! static int prefWindowed = TRUE; static int prefWidth = 640; // Fullscreen mode width. static int prefHeight = 480; // Fullscreen mode height. *************** *** 82,90 **** static ARUint8 *gARTImage = NULL; static double gPatt_trans[3][4]; ! static BOOL gPatt_found; static ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL; // Other globals. ! static BOOL gDrawRotate = FALSE; static float gDrawRotateAngle = 0; // For use in drawing. --- 82,90 ---- static ARUint8 *gARTImage = NULL; static double gPatt_trans[3][4]; ! static int gPatt_found; static ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL; // Other globals. ! static int gDrawRotate = FALSE; static float gDrawRotateAngle = 0; // For use in drawing. *************** *** 148,152 **** // Sets up gARTCparam. ! static BOOL demoARSetupCamera(const unsigned char *cparam_name, char *vconf) { ARParam wparam; --- 148,152 ---- // Sets up gARTCparam. ! static int demoARSetupCamera(const unsigned char *cparam_name, char *vconf) { ARParam wparam; *************** *** 181,185 **** } ! static BOOL demoARSetupMarker(const unsigned char *patt_name, int *patt_id) { --- 181,185 ---- } ! static int demoARSetupMarker(const unsigned char *patt_name, int *patt_id) { |