1 #ifndef BT_SDF_COLLISION_SHAPE_H 2 #define BT_SDF_COLLISION_SHAPE_H 21 virtual const char*
getName()
const;
30 #endif //BT_SDF_COLLISION_SHAPE_H
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...
bool initializeSDF(const char *sdfData, int sizeInBytes)
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
virtual const char * getName() const
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
virtual void setLocalScaling(const btVector3 &scaling)
struct btSdfCollisionShapeInternalData * m_data
virtual void setMargin(btScalar margin)
btVector3 can be used to represent 3D points and vectors.
virtual const btVector3 & getLocalScaling() const
bool queryPoint(const btVector3 &ptInSDF, btScalar &distOut, btVector3 &normal)
virtual ~btSdfCollisionShape()
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual btScalar getMargin() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...