[Gcblue-commits] gcb_wx/include/graphics tc3DViewer.h,1.9,1.10 tcMapView.h,1.19,1.20
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-07-14 23:41:58
|
Update of /cvsroot/gcblue/gcb_wx/include/graphics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15566/include/graphics Modified Files: tc3DViewer.h tcMapView.h Log Message: Fixed shaking object bug Index: tcMapView.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tcMapView.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** tcMapView.h 1 Jun 2005 00:13:26 -0000 1.19 --- tcMapView.h 14 Jul 2005 23:41:50 -0000 1.20 *************** *** 154,162 **** */ - #define CMD_DEACTIVATE 0 - #define CMD_ACTIVATE 1 - #define CMD_KILLPLATFORM 2 - #define N_PENS 10 /** --- 154,158 ---- Index: tc3DViewer.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tc3DViewer.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** tc3DViewer.h 30 Jun 2005 01:06:08 -0000 1.9 --- tc3DViewer.h 14 Jul 2005 23:41:50 -0000 1.10 *************** *** 131,134 **** --- 131,135 ---- osg::Vec3 GetCameraPosition(); double GetGameTime() const {return gameTime;} + double GetGameTimeStep() const {return gameTime - lastGameTime;} const osg::Vec3& GetHookedObjectPositionAndType(unsigned int& classification); bool GetTerrainActive() const {return isTerrainActive;} *************** *** 191,194 **** --- 192,196 ---- float shiftDistance; ///< reset origin if camera distance from origin exceeds this double gameTime; ///< current game time [s] + double lastGameTime; ///< game time of previous call to Frame float zmin; ///< depth buffer limits float zmax; |