Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
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;
68 #endif //BT_CONVEX_TRIANGLEMESH_SHAPE_H
The btConvexTriangleMeshShape is a convex hull of a triangle mesh, but the performance is not as good...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
class btStridingMeshInterface * m_stridingMesh
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.
virtual const char * getName() const
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
class btStridingMeshInterface * getMeshInterface()
const class btStridingMeshInterface * getMeshInterface() const