added first draft of C-API, btConvexHullShape takes float* instead of btPoint*, added getGravity to btRigidBody
This commit is contained in:
@@ -88,7 +88,12 @@ public:
|
||||
void applyForces(btScalar step);
|
||||
|
||||
void setGravity(const btVector3& acceleration);
|
||||
|
||||
|
||||
const btVector3& getGravity() const
|
||||
{
|
||||
return m_gravity;
|
||||
}
|
||||
|
||||
void setDamping(btScalar lin_damping, btScalar ang_damping);
|
||||
|
||||
inline const btCollisionShape* getCollisionShape() const {
|
||||
|
||||
Reference in New Issue
Block a user