16#ifndef BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H
17#define BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H
55 virtual const char*
getName()
const {
return "SCALEDBVHTRIANGLEMESH"; }
57 virtual int calculateSerializeBufferSize()
const;
60 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
83 return "btScaledTriangleMeshShapeData";
@ SCALED_TRIANGLE_MESH_SHAPE_PROXYTYPE
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#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 void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual void setLocalScaling(const btVector3 &scaling)
virtual const btVector3 & getLocalScaling() const
virtual int calculateSerializeBufferSize() const
btBvhTriangleMeshShape * m_bvhTriMeshShape
virtual const char * getName() const
BT_DECLARE_ALIGNED_ALLOCATOR()
btBvhTriangleMeshShape * getChildShape()
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
btScaledBvhTriangleMeshShape(btBvhTriangleMeshShape *childShape, const btVector3 &localScaling)
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
const btBvhTriangleMeshShape * getChildShape() const
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btVector3 can be used to represent 3D points and vectors.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btTriangleMeshShapeData m_trimeshShapeData
btVector3FloatData m_localScaling
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btCollisionShapeData m_collisionShapeData