16#ifndef BT_COLLISION_SHAPE_H
17#define BT_COLLISION_SHAPE_H
151 virtual int calculateSerializeBufferSize()
const;
154 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
156 virtual void serializeSingleShape(
btSerializer * serializer)
const;
@ INVALID_SHAPE_PROXYTYPE
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 setMargin(btScalar margin)=0
virtual void getBoundingSphere(btVector3 ¢er, btScalar &radius) const
void setUserPointer(void *userPtr)
optional user data pointer
void calculateTemporalAabb(const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax) const
calculateTemporalAabb calculates the enclosing aabb for the moving object over interval [0....
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const =0
virtual const char * getName() const =0
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual const btVector3 & getLocalScaling() const =0
virtual btScalar getMargin() const =0
void setUserIndex(int index)
virtual void setLocalScaling(const btVector3 &scaling)=0
void * getUserPointer() const
virtual btScalar getAngularMotionDisc() const
getAngularMotionDisc returns the maximum radius needed for Conservative Advancement to handle time-of...
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const =0
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
void setUserIndex2(int index)
bool isInfinite() const
isInfinite is used to catch simulation error (aabb check)
virtual btScalar getContactBreakingThreshold(btScalar defaultContactThresholdFactor) const
virtual int calculateSerializeBufferSize() const
bool isPolyhedral() const
virtual ~btCollisionShape()
int getUserIndex2() const
btVector3 can be used to represent 3D points and vectors.
static bool isInfinite(int proxyType)
static bool isCompound(int proxyType)
static bool isSoftBody(int proxyType)
static bool isConvex2d(int proxyType)
static bool isPolyhedral(int proxyType)
static bool isNonMoving(int proxyType)
static bool isConcave(int proxyType)
static bool isConvex(int proxyType)
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64