16#ifndef BT_STATIC_PLANE_SHAPE_H
17#define BT_STATIC_PLANE_SHAPE_H
60 virtual const char*
getName()
const {
return "STATICPLANE"; }
87 btStaticPlaneShapeData* planeData = (btStaticPlaneShapeData*)dataBuffer;
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";
virtual void setLocalScaling(const btVector3 &scaling)
virtual const char * getName() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual const btVector3 & getLocalScaling() const =0
unsigned calculateSerializeBufferSize() const
virtual bool serialize(void *o_alignedDataBuffer, unsigned i_dataBufferSize, bool i_swapEndian) const
Data buffer MUST be 16 byte aligned.
#define BT_DECLARE_ALIGNED_ALLOCATOR()
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
const btVector3 & getPlaneNormal() const
const btScalar & getPlaneConstant() const
btStaticPlaneShape(const btVector3 &planeNormal, btScalar planeConstant)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
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