summaryrefslogtreecommitdiff
path: root/btgui/Bullet3AppSupport/CommonPhysicsSetup.h
diff options
context:
space:
mode:
Diffstat (limited to 'btgui/Bullet3AppSupport/CommonPhysicsSetup.h')
-rw-r--r--btgui/Bullet3AppSupport/CommonPhysicsSetup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/btgui/Bullet3AppSupport/CommonPhysicsSetup.h b/btgui/Bullet3AppSupport/CommonPhysicsSetup.h
index b1146e2a4..616e352de 100644
--- a/btgui/Bullet3AppSupport/CommonPhysicsSetup.h
+++ b/btgui/Bullet3AppSupport/CommonPhysicsSetup.h
@@ -48,6 +48,10 @@ struct GraphicsPhysicsBridge
return 0;
}
+ virtual struct CommonRenderInterface* getRenderInterface()
+ {
+ return 0;
+ }
virtual void setUpAxis(int axis)
{
}
@@ -77,6 +81,7 @@ public:
virtual void debugDraw(int debugDrawFlags)=0;
+ virtual void renderScene(GraphicsPhysicsBridge& gfxBridge){};
virtual bool pickBody(const btVector3& rayFromWorld, const btVector3& rayToWorld) = 0;
virtual bool movePickedBody(const btVector3& rayFromWorld, const btVector3& rayToWorld)=0;