16 #ifndef BT_UNIFORM_SCALING_SHAPE_H
17 #define BT_UNIFORM_SCALING_SHAPE_H
42 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
48 return m_uniformScalingFactor;
53 return m_childConvexShape;
58 return m_childConvexShape;
63 return "UniformScalingShape";
76 virtual void setLocalScaling(
const btVector3& scaling) ;
77 virtual const btVector3& getLocalScaling()
const ;
79 virtual void setMargin(
btScalar margin);
82 virtual int getNumPreferredPenetrationDirections()
const;
84 virtual void getPreferredPenetrationDirection(
int index,
btVector3& penetrationVector)
const;
89 #endif //BT_UNIFORM_SCALING_SHAPE_H
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
#define BT_DECLARE_ALIGNED_ALLOCATOR()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...