1#ifndef BT_SDF_COLLISION_SHAPE_H
2#define BT_SDF_COLLISION_SHAPE_H
20 virtual const char*
getName()
const;
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.
bool initializeSDF(const char *sdfData, int sizeInBytes)
bool queryPoint(const btVector3 &ptInSDF, btScalar &distOut, btVector3 &normal)
virtual ~btSdfCollisionShape()
virtual const char * getName() const
struct btSdfCollisionShapeInternalData * m_data
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual btScalar getMargin() const
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.
virtual void setMargin(btScalar margin)
virtual void setLocalScaling(const btVector3 &scaling)
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
virtual const btVector3 & getLocalScaling() const
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btVector3 can be used to represent 3D points and vectors.