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";
73 virtual void setLocalScaling(
const btVector3& scaling);
74 virtual const btVector3& getLocalScaling()
const;
76 virtual void setMargin(
btScalar margin);
79 virtual int getNumPreferredPenetrationDirections()
const;
81 virtual void getPreferredPenetrationDirection(
int index,
btVector3& penetrationVector)
const;
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
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.