16#ifndef BT_STATIC_PLANE_SHAPE_H
17#define BT_STATIC_PLANE_SHAPE_H
23btStaticPlaneShape : public btConcaveShape
40 virtual void getAabb(
const btTransform& t, btVector3& aabbMin, btVector3& aabbMax)
const;
60 virtual const char*
getName()
const {
return "STATICPLANE"; }
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 void setLocalScaling(const btVector3 &scaling)
in case we receive negative scaling
BT_DECLARE_ALIGNED_ALLOCATOR()
const btVector3 & getPlaneNormal() const
virtual int calculateSerializeBufferSize() const
virtual ~btStaticPlaneShape()
virtual const char * getName() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
CollisionShape Interface.
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.
const btScalar & getPlaneConstant() const
virtual const btVector3 & getLocalScaling() 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)
DEGForeachIDComponentCallback callback
draw_view in_light_buf[] float
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