16#ifndef BT_STATIC_PLANE_SHAPE_H
17#define BT_STATIC_PLANE_SHAPE_H
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)
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
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.
virtual void setLocalScaling(const btVector3 &scaling)
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual const btVector3 & getLocalScaling() const
const btScalar & getPlaneConstant() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) 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)
btStaticPlaneShape(const btVector3 &planeNormal, btScalar planeConstant)
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
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btVector3FloatData m_localScaling
btCollisionShapeData m_collisionShapeData
btVector3FloatData m_planeNormal