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();
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
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()
btBvhTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true)
Bvh Concave triangle mesh is a static-triangle mesh shape with Bounding Volume Hierarchy optimization...
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...
btTriangleMeshShape(btStridingMeshInterface *meshInterface)
btTriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use th...
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