diff options
Diffstat (limited to 'thirdparty/bullet/BulletCollision/CollisionShapes/btSdfCollisionShape.h')
-rw-r--r-- | thirdparty/bullet/BulletCollision/CollisionShapes/btSdfCollisionShape.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/thirdparty/bullet/BulletCollision/CollisionShapes/btSdfCollisionShape.h b/thirdparty/bullet/BulletCollision/CollisionShapes/btSdfCollisionShape.h index 6e32db9cd8..3989d6245e 100644 --- a/thirdparty/bullet/BulletCollision/CollisionShapes/btSdfCollisionShape.h +++ b/thirdparty/bullet/BulletCollision/CollisionShapes/btSdfCollisionShape.h @@ -8,23 +8,22 @@ class btSdfCollisionShape : public btConcaveShape struct btSdfCollisionShapeInternalData* m_data; public: - btSdfCollisionShape(); virtual ~btSdfCollisionShape(); - + bool initializeSDF(const char* sdfData, int sizeInBytes); - virtual void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const; - virtual void setLocalScaling(const btVector3& scaling); + virtual void getAabb(const btTransform& t, btVector3& aabbMin, btVector3& aabbMax) const; + virtual void setLocalScaling(const btVector3& scaling); virtual const btVector3& getLocalScaling() const; - virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const; - virtual const char* getName()const; - virtual void setMargin(btScalar margin); - virtual btScalar getMargin() const; + virtual void calculateLocalInertia(btScalar mass, btVector3& inertia) const; + virtual const char* getName() const; + virtual void setMargin(btScalar margin); + virtual btScalar getMargin() const; - virtual void processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const; + virtual void processAllTriangles(btTriangleCallback* callback, const btVector3& aabbMin, const btVector3& aabbMax) const; bool queryPoint(const btVector3& ptInSDF, btScalar& distOut, btVector3& normal); }; -#endif //BT_SDF_COLLISION_SHAPE_H +#endif //BT_SDF_COLLISION_SHAPE_H |