made access to mesh interface more consistent, so btConvexTriangleMeshShape uses also 'getMeshInterface', similar to btTriangleMeshShape.

Thanks Et3D for pointing this out here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1590
This commit is contained in:
ejcoumans
2007-10-21 21:04:04 +00:00
parent b888f2d994
commit c80d1532f6
3 changed files with 7 additions and 3 deletions

View File

@@ -16,7 +16,11 @@ class btConvexTriangleMeshShape : public btPolyhedralConvexShape
public:
btConvexTriangleMeshShape(btStridingMeshInterface* meshInterface);
class btStridingMeshInterface* getStridingMesh()
class btStridingMeshInterface* getMeshInterface()
{
return m_stridingMesh;
}
const class btStridingMeshInterface* getMeshInterface() const
{
return m_stridingMesh;
}