16#ifndef BT_BVH_TRIANGLE_MESH_SHAPE_H
17#define BT_BVH_TRIANGLE_MESH_SHAPE_H
43 bool m_pad[11] __attribute__((unused));
74 virtual const char*
getName()
const {
return "BVHTRIANGLEMESH"; }
76 virtual void setLocalScaling(
const btVector3& scaling);
85 void buildOptimizedBvh();
89 return m_useQuantizedAabbCompression;
94 m_triangleInfoMap = triangleInfoMap;
99 return m_triangleInfoMap;
104 return m_triangleInfoMap;
107 virtual int calculateSerializeBufferSize()
const;
110 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
112 virtual void serializeSingleBvh(
btSerializer * serializer)
const;
114 virtual void serializeSingleTriangleInfoMap(
btSerializer * serializer)
const;
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
virtual const char * getName() const
btTriangleInfoMap * m_triangleInfoMap
bool m_useQuantizedAabbCompression
btTriangleInfoMap * getTriangleInfoMap()
bool usesQuantizedAabbCompression() const
btOptimizedBvh * getOptimizedBvh()
virtual int calculateSerializeBufferSize() const
const btTriangleInfoMap * getTriangleInfoMap() const
BT_DECLARE_ALIGNED_ALLOCATOR()
void setTriangleInfoMap(btTriangleInfoMap *triangleInfoMap)
The btOptimizedBvh extends the btQuantizedBvh to create AABB tree for triangle meshes,...
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...
btVector3 can be used to represent 3D points and vectors.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btTriangleInfoMap stores edge angle information for some triangles. You can compute this informat...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btStridingMeshInterfaceData m_meshInterface
btQuantizedBvhDoubleData * m_quantizedDoubleBvh
btQuantizedBvhFloatData * m_quantizedFloatBvh
btCollisionShapeData m_collisionShapeData
btTriangleInfoMapData * m_triangleInfoMap