19 #ifndef TG_SIM_VIEW_GRAPHICS_H
20 #define TG_SIM_VIEW_GRAPHICS_H
33 #include "tgGlutStuff.h"
36 #include "Win32DemoApplication.h"
37 #define PlatformDemoApplication Win32DemoApplication
39 #include "tgGlutDemoApplication.h"
40 #define PlatformDemoApplication tgGlutDemoApplication
43 #include "LinearMath/btAlignedObjectArray.h"
48 class tgGLDebugDrawer;
68 double stepSize = 1.0/120.0,
69 double renderRate = 1.0/60.0);
106 virtual void run(
int steps);
118 std::cerr <<
"Attempted initPhysics without setup!" << std::endl;
124 std::cout <<
"exiting physics" << std::endl;
145 tgGLDebugDrawer* gDebugDrawer;
bool isInitialzed() const
virtual void clientResetScene()
tgSimViewGraphics(tgWorld &world, double stepSize=1.0/120.0, double renderRate=1.0/60.0)
virtual void clientMoveAndDisplay()
Contains the definition of class tgSimView.
virtual void displayCallback()
Contains the definition of concrete class tgBulletRenderer.