18 #ifndef BT_OPTIMIZED_BVH_H
19 #define BT_OPTIMIZED_BVH_H
50 virtual bool serializeInPlace(
void *o_alignedDataBuffer,
unsigned i_dataBufferSize,
bool i_swapEndian)
const
57 static btOptimizedBvh *deSerializeInPlace(
void *i_alignedDataBuffer,
unsigned int i_dataBufferSize,
bool i_swapEndian);
63 #endif //BT_OPTIMIZED_BVH_H
virtual bool serialize(void *o_alignedDataBuffer, unsigned i_dataBufferSize, bool i_swapEndian) const
Data buffer MUST be 16 byte aligned.
virtual bool serializeInPlace(void *o_alignedDataBuffer, unsigned i_dataBufferSize, bool i_swapEndian) const
Data buffer MUST be 16 byte aligned.
The btOptimizedBvh extends the btQuantizedBvh to create AABB tree for triangle meshes, through the btStridingMeshInterface.
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
#define BT_DECLARE_ALIGNED_ALLOCATOR()
The btQuantizedBvh class stores an AABB tree that can be quickly traversed on CPU and Cell SPU...