mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-18 06:45:40 +00:00
added first draft of C-API, btConvexHullShape takes float* instead of btPoint*, added getGravity to btRigidBody
This commit is contained in:
@@ -89,6 +89,11 @@ void btSimpleDynamicsWorld::setGravity(const btVector3& gravity)
|
||||
}
|
||||
}
|
||||
|
||||
void btSimpleDynamicsWorld::removeRigidBody(btRigidBody* body)
|
||||
{
|
||||
removeCollisionObject(body);
|
||||
}
|
||||
|
||||
void btSimpleDynamicsWorld::addRigidBody(btRigidBody* body)
|
||||
{
|
||||
body->setGravity(m_gravity);
|
||||
|
||||
Reference in New Issue
Block a user