Bullet Collision Detection & Physics Library
|
Go to the documentation of this file. 1 #ifndef BT_SDF_COLLISION_SHAPE_H
2 #define BT_SDF_COLLISION_SHAPE_H
20 virtual const char*
getName()
const;
29 #endif //BT_SDF_COLLISION_SHAPE_H
virtual void setMargin(btScalar margin)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
virtual const char * getName() const
bool queryPoint(const btVector3 &ptInSDF, btScalar &distOut, btVector3 &normal)
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
virtual ~btSdfCollisionShape()
virtual btScalar getMargin() const
btVector3 can be used to represent 3D points and vectors.
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual const btVector3 & getLocalScaling() const
virtual void setLocalScaling(const btVector3 &scaling)
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
struct btSdfCollisionShapeInternalData * m_data
bool initializeSDF(const char *sdfData, int sizeInBytes)
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const