Added faster and more robust support for btStaticPlaneShape

This commit is contained in:
ejcoumans
2007-12-11 23:13:29 +00:00
parent 66cdbb9659
commit a7e04dbdc2
7 changed files with 220 additions and 10 deletions

View File

@@ -51,6 +51,15 @@ public:
virtual void setLocalScaling(const btVector3& scaling);
virtual const btVector3& getLocalScaling() const;
const btVector3& getPlaneNormal() const
{
return m_planeNormal;
}
const btScalar& getPlaneConstant() const
{
return m_planeConstant;
}
//debugging
virtual const char* getName()const {return "STATICPLANE";}