19 #ifndef TG_SIM_VIEW_GRAPHICS_H
20 #define TG_SIM_VIEW_GRAPHICS_H
32 #include "tgGlutStuff.h"
35 #include "Win32DemoApplication.h"
36 #define PlatformDemoApplication Win32DemoApplication
38 #include "tgGlutDemoApplication.h"
39 #define PlatformDemoApplication tgGlutDemoApplication
42 #include "LinearMath/btAlignedObjectArray.h"
47 class tgGLDebugDrawer;
67 double stepSize = 1.0/120.0,
68 double renderRate = 1.0/60.0);
93 virtual void run(
int steps);
103 std::cerr <<
"Attempted initPhysics without setup!" << std::endl;
109 std::cout <<
"exiting physics" << std::endl;
113 virtual void clientMoveAndDisplay();
115 virtual void displayCallback();
116 virtual void clientResetScene();
119 tgGLDebugDrawer* gDebugDrawer;
bool isInitialzed() const
tgSimViewGraphics(tgWorld &world, double stepSize=1.0/120.0, double renderRate=1.0/60.0)
Contains the definition of class tgSimView $Id$.
Contains the definition of concrete class tgBulletRenderer.