27btStaticPlaneShape::~btStaticPlaneShape()
51 btScalar radius = halfExtents.length();
64 triangle[0] = projectedCenter + tangentDir0 * radius + tangentDir1 * radius;
65 triangle[1] = projectedCenter + tangentDir0 * radius - tangentDir1 * radius;
66 triangle[2] = projectedCenter - tangentDir0 * radius - tangentDir1 * radius;
70 triangle[0] = projectedCenter - tangentDir0 * radius - tangentDir1 * radius;
71 triangle[1] = projectedCenter - tangentDir0 * radius + tangentDir1 * radius;
72 triangle[2] = projectedCenter + tangentDir0 * radius + tangentDir1 * radius;
77void btStaticPlaneShape::calculateLocalInertia(
btScalar mass,
btVector3& inertia)
const
86void btStaticPlaneShape::setLocalScaling(
const btVector3& scaling)
90const btVector3& btStaticPlaneShape::getLocalScaling()
const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
SIMD_FORCE_INLINE void btPlaneSpace1(const T &n, T &p, T &q)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
SIMD_FORCE_INLINE btVector3 normalized() const
Return a normalized version of this vector.
virtual void processTriangle(btVector3 *triangle, int partId, int triangleIndex)=0