| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   16 #ifndef BT_STATIC_PLANE_SHAPE_H 
   17 #define BT_STATIC_PLANE_SHAPE_H 
   46         virtual void setLocalScaling(
const btVector3& scaling);
 
   47         virtual const btVector3& getLocalScaling() 
const;
 
   56                 return m_planeConstant;
 
   60         virtual const char* 
getName()
 const { 
return "STATICPLANE"; }
 
   62         virtual int calculateSerializeBufferSize() 
const;
 
   65         virtual const char* serialize(
void* dataBuffer, 
btSerializer* serializer) 
const;
 
   95         planeData->
m_pad[0] = 0;
 
   96         planeData->
m_pad[1] = 0;
 
   97         planeData->
m_pad[2] = 0;
 
   98         planeData->
m_pad[3] = 0;
 
  100         return "btStaticPlaneShapeData";
 
  103 #endif  //BT_STATIC_PLANE_SHAPE_H 
  
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
const btScalar & getPlaneConstant() const
virtual const char * getName() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
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 btVector3 & getPlaneNormal() const
virtual int calculateSerializeBufferSize() 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
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
#define SIMD_FORCE_INLINE
btVector3FloatData m_planeNormal
The btStaticPlaneShape simulates an infinite non-moving (static) collision plane.
btVector3FloatData m_localScaling