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