| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   16 #ifndef BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H 
   17 #define BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H 
   38         virtual void setLocalScaling(
const btVector3& scaling);
 
   39         virtual const btVector3& getLocalScaling() 
const;
 
   46                 return m_bvhTriMeshShape;
 
   51                 return m_bvhTriMeshShape;
 
   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";
 
   86 #endif  //BT_SCALED_BVH_TRIANGLE_MESH_SHAPE_H 
  
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
btBvhTriangleMeshShape * m_bvhTriMeshShape
virtual const char * getName() const
const btBvhTriangleMeshShape * getChildShape() const
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
void serializeFloat(struct btVector3FloatData &dataOut) 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)
btCollisionShapeData m_collisionShapeData
btVector3FloatData m_localScaling
virtual int calculateSerializeBufferSize() const
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btBvhTriangleMeshShape * getChildShape()
The btScaledBvhTriangleMeshShape allows to instance a scaled version of an existing btBvhTriangleMesh...
btTriangleMeshShapeData m_trimeshShapeData