some finishing touches for drawing shadows/clusters/textures.

This commit is contained in:
erwin.coumans
2008-08-01 06:11:11 +00:00
parent 7bf65e95f4
commit 9c776c6ed0
7 changed files with 89 additions and 19 deletions

View File

@@ -110,14 +110,16 @@ public:
return demo;
}
const btSoftRigidDynamicsWorld* getSoftDynamicsWorld() const
virtual void setDrawClusters(bool drawClusters);
virtual const btSoftRigidDynamicsWorld* getSoftDynamicsWorld() const
{
///just make it a btSoftRigidDynamicsWorld please
///or we will add type checking
return (btSoftRigidDynamicsWorld*) m_dynamicsWorld;
}
btSoftRigidDynamicsWorld* getSoftDynamicsWorld()
virtual btSoftRigidDynamicsWorld* getSoftDynamicsWorld()
{
///just make it a btSoftRigidDynamicsWorld please
///or we will add type checking