15 #ifndef BT_CONVEX_TRIANGLEMESH_SHAPE_H
16 #define BT_CONVEX_TRIANGLEMESH_SHAPE_H
37 return m_stridingMesh;
41 return m_stridingMesh;
46 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
49 virtual const char*
getName()
const {
return "ConvexTrimesh";}
51 virtual int getNumVertices()
const;
52 virtual int getNumEdges()
const;
54 virtual void getVertex(
int i,
btVector3& vtx)
const;
55 virtual int getNumPlanes()
const;
60 virtual void setLocalScaling(
const btVector3& scaling);
61 virtual const btVector3& getLocalScaling()
const;
74 #endif //BT_CONVEX_TRIANGLEMESH_SHAPE_H
The btConvexTriangleMeshShape is a convex hull of a triangle mesh, but the performance is not as good...
const class btStridingMeshInterface * getMeshInterface() const
class btStridingMeshInterface * m_stridingMesh
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
#define BT_DECLARE_ALIGNED_ALLOCATOR()
class btStridingMeshInterface * getMeshInterface()
virtual const char * getName() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...