update Bullet 2.x with latest changes, notice that the integration is not finished...
[blender.git] / extern / bullet2 / src / BulletCollision / CollisionShapes / btCollisionShape.h
index d015fb2baaece6ce25d8f5d2add478c13cb39fde..7b2a00a1c57dc535de091db0ae98e8a89c61c4a0 100644 (file)
@@ -66,6 +66,12 @@ public:
                return btBroadphaseProxy::isCompound(getShapeType());
        }
 
+       ///isInfinite is used to catch simulation error (aabb check)
+       inline bool isInfinite() const
+       {
+               return btBroadphaseProxy::isInfinite(getShapeType());
+       }
+
        virtual void    setLocalScaling(const btVector3& scaling) =0;
        virtual const btVector3& getLocalScaling() const =0;