16#ifndef BT_UNIFORM_SCALING_SHAPE_H
17#define BT_UNIFORM_SCALING_SHAPE_H
53 return m_childConvexShape;
58 return m_childConvexShape;
63 return "UniformScalingShape";
virtual void setLocalScaling(const btVector3 &scaling)
SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual void getPreferredPenetrationDirection(int index, btVector3 &penetrationVector) const
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
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 setMargin(btScalar collisionMargin)
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual int getNumPreferredPenetrationDirections() const
virtual const btVector3 & getLocalScaling() const =0
virtual btScalar getMargin() const =0
btCollisionShape * getChildShape(int index)
virtual void getAabbSlow(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
btConvexShape()
not supported on IBM SDK, until we fix the alignment of btVector3
#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)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...