16#ifndef BT_TRIANGLE_MESH_SHAPE_H
17#define BT_TRIANGLE_MESH_SHAPE_H
50 virtual void getAabb(
const btTransform& t, btVector3& aabbMin, btVector3& aabbMax)
const;
79 virtual const char*
getName()
const {
return "TRIANGLEMESH"; }
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
btStridingMeshInterface * m_meshInterface
virtual ~btTriangleMeshShape()
virtual void setLocalScaling(const btVector3 &scaling)
in case we receive negative scaling
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
btStridingMeshInterface * getMeshInterface()
btTriangleMeshShape(btStridingMeshInterface *meshInterface)
const btVector3 & getLocalAabbMin() const
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
virtual const char * getName() const
getName is for debugging
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
CollisionShape Interface.
const btVector3 & getLocalAabbMax() const
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) 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 const btVector3 & getLocalScaling() const
DEGForeachIDComponentCallback callback