Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-12-04 18:48:32 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-12-04 18:48:32 +0300
commit1cef024780e7f810ced1492bc3f57c7cd41ee8d6 (patch)
tree2e93cd4e0c7a9b5e536dfe714a5306d6aa60f947 /extern/bullet2/src/BulletDynamics
parentd6e926589547ce2c5fadce92f0881a01fa4d882e (diff)
update to latest Bullet 2.x sources. prepare to make near sensors much faster
Diffstat (limited to 'extern/bullet2/src/BulletDynamics')
-rw-r--r--extern/bullet2/src/BulletDynamics/Dynamics/btRigidBody.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletDynamics/Dynamics/btRigidBody.h b/extern/bullet2/src/BulletDynamics/Dynamics/btRigidBody.h
index 49b8525149d..43869363cdf 100644
--- a/extern/bullet2/src/BulletDynamics/Dynamics/btRigidBody.h
+++ b/extern/bullet2/src/BulletDynamics/Dynamics/btRigidBody.h
@@ -336,7 +336,12 @@ public:
{
return m_angularFactor;
}
-
+
+ //is this rigidbody added to a btCollisionWorld/btDynamicsWorld/btBroadphase?
+ bool isInWorld() const
+ {
+ return (getBroadphaseProxy() != 0);
+ }
int m_debugBodyId;
};