New btConeshape member functions to can set radius and height for the

cone shape after creation
This commit is contained in:
Jorge Bernal
2015-05-17 17:39:48 +02:00
parent a34d04d211
commit c02e197e77

View File

@@ -43,6 +43,15 @@ public:
btScalar getRadius() const { return m_radius;}
btScalar getHeight() const { return m_height;}
void setRadius(const btScalar radius)
{
m_radius = radius;
}
void setHeight(const btScalar height)
{
m_height = height;
}
virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const
{