Lines Matching refs:btVector3
21 #include "LinearMath/btVector3.h"
36 btVector3 getHalfExtentsWithMargin() const
38 btVector3 halfExtents = getHalfExtentsWithoutMargin();
39 btVector3 margin(getMargin(),getMargin(),getMargin());
44 const btVector3& getHalfExtentsWithoutMargin() const
49 btCylinderShape (const btVector3& halfExtents);
51 void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const;
53 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const;
55 virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const;
57 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
62 btVector3 oldMargin(getMargin(),getMargin(),getMargin());
63 btVector3 implicitShapeDimensionsWithMargin = m_implicitShapeDimensions+oldMargin;
66 btVector3 newMargin(getMargin(),getMargin(),getMargin());
71 virtual btVector3 localGetSupportingVertex(const btVector3& vec) const
74 btVector3 supVertex;
79 btVector3 vecnorm = vec;
92 // virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const;
100 virtual btVector3 getAnisotropicRollingFrictionDirection() const
102 btVector3 aniDir(0,0,0);
112 virtual void setLocalScaling(const btVector3& scaling)
114 btVector3 oldMargin(getMargin(),getMargin(),getMargin());
115 btVector3 implicitShapeDimensionsWithMargin = m_implicitShapeDimensions+oldMargin;
116 btVector3 unScaledImplicitShapeDimensionsWithMargin = implicitShapeDimensionsWithMargin / m_localScaling;
142 btCylinderShapeX (const btVector3& halfExtents);
144 virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const;
145 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
165 btCylinderShapeZ (const btVector3& halfExtents);
167 virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const;
168 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;