16#ifndef BT_TRIANGLE_MESH_SHAPE_H
17#define BT_TRIANGLE_MESH_SHAPE_H
45 return localGetSupportingVertex(vec);
48 void recalcLocalAabb();
56 virtual void setLocalScaling(
const btVector3& scaling);
57 virtual const btVector3& getLocalScaling()
const;
61 return m_meshInterface;
66 return m_meshInterface;
71 return m_localAabbMin;
75 return m_localAabbMax;
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)
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly...
const btStridingMeshInterface * getMeshInterface() const
const btVector3 & getLocalAabbMax() const
btStridingMeshInterface * getMeshInterface()
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btStridingMeshInterface * m_meshInterface
virtual const char * getName() const
const btVector3 & getLocalAabbMin() const
btVector3 can be used to represent 3D points and vectors.