16 #ifndef BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H
17 #define BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H
43 virtual void setLocalScaling(
const btVector3& scaling);
44 virtual const btVector3& getLocalScaling()
const;
51 return m_bvhTriMeshShape;
56 return m_bvhTriMeshShape;
60 virtual const char*
getName()
const {
return "SCALEDBVHTRIANGLEMESH";}
62 virtual int calculateSerializeBufferSize()
const;
65 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
91 return "btScaledTriangleMeshShapeData";
95 #endif //BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btCollisionShapeData m_collisionShapeData
const btBvhTriangleMeshShape * getChildShape() const
btTriangleMeshShapeData m_trimeshShapeData
virtual const char * getName() const
#define SIMD_FORCE_INLINE
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
btBvhTriangleMeshShape * getChildShape()
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btVector3FloatData m_localScaling
void serializeFloat(struct btVector3FloatData &dataOut) const
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
btBvhTriangleMeshShape * m_bvhTriMeshShape
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
#define BT_DECLARE_ALIGNED_ALLOCATOR()
The btScaledBvhTriangleMeshShape allows to instance a scaled version of an existing btBvhTriangleMesh...
virtual int calculateSerializeBufferSize() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...