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
bool initializeSDF(const char *sdfData, int sizeInBytes)
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 const char * getName() const
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) 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 btScalar getMargin() 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 const btVector3 & getLocalScaling() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...