#include "btTriangleMeshShape.h"
#include "btOptimizedBvh.h"
#include "LinearMath/btAlignedAllocator.h"
#include "btTriangleInfoMap.h"
Go to the source code of this file.
Classes | |
struct | btTriangleMeshShapeData |
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More... | |
Functions | |
ATTRIBUTE_ALIGNED16 (class) btBvhTriangleMeshShape |
ATTRIBUTE_ALIGNED16 | ( | class | ) |
The btBvhTriangleMeshShape is a static-triangle mesh shape with several optimizations, such as bounding volume hierarchy and cache friendly traversal for PlayStation 3 Cell SPU. It is recommended to enable useQuantizedAabbCompression for better memory usage. It takes a triangle mesh as input, for example a btTriangleMesh or btTriangleIndexVertexArray. The btBvhTriangleMeshShape class allows for triangle mesh deformations by a refit or partialRefit method. Instead of building the bounding volume hierarchy acceleration structure, it is also possible to serialize (save) and deserialize (load) the structure from disk. See Demos\ConcaveDemo\ConcavePhysicsDemo.cpp for an example.
optionally pass in a larger bvh aabb, used for quantization. This allows for deformations within this aabb
for a fast incremental refit of parts of the tree. Note: the entire AABB of the tree will become more conservative, it never shrinks
fills the dataBuffer and returns the struct name (and 0 on failure)
Definition at line 28 of file btBvhTriangleMeshShape.h.