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";
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
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
The btStaticPlaneShape simulates an infinite non-moving (static) collision plane.
BT_DECLARE_ALIGNED_ALLOCATOR()
const btScalar & getPlaneConstant() const
virtual const char * getName() const
const btVector3 & getPlaneNormal() const
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)
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btVector3 can be used to represent 3D points and vectors.
void serializeFloat(struct btVector3FloatData &dataOut) const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btVector3FloatData m_localScaling
btCollisionShapeData m_collisionShapeData
btVector3FloatData m_planeNormal