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;
81 virtual const char*
getName()
const {
return "TRIANGLEMESH";}
90 #endif //BT_TRIANGLE_MESH_SHAPE_H
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btStridingMeshInterface * m_meshInterface
const btStridingMeshInterface * getMeshInterface() const
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly...
const btVector3 & getLocalAabbMin() const
virtual const char * getName() const
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
#define BT_DECLARE_ALIGNED_ALLOCATOR()
const btVector3 & getLocalAabbMax() const
btStridingMeshInterface * getMeshInterface()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...