23 m_planeConstant(planeConstant),
77 triangle[0] = projectedCenter + tangentDir0*radius + tangentDir1*radius;
78 triangle[1] = projectedCenter + tangentDir0*radius - tangentDir1*radius;
79 triangle[2] = projectedCenter - tangentDir0*radius - tangentDir1*radius;
83 triangle[0] = projectedCenter - tangentDir0*radius - tangentDir1*radius;
84 triangle[1] = projectedCenter - tangentDir0*radius + tangentDir1*radius;
85 triangle[2] = projectedCenter + tangentDir0*radius + tangentDir1*radius;
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
void btPlaneSpace1(const T &n, T &p, T &q)
virtual void processTriangle(btVector3 *triangle, int partId, int triangleIndex)=0
btScalar dot(const btVector3 &v) const
Return the dot product.
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btStaticPlaneShape(const btVector3 &planeNormal, btScalar planeConstant)
btScalar length() const
Return the length of the vector.
btVector3 can be used to represent 3D points and vectors.
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual const btVector3 & getLocalScaling() const
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
virtual void setLocalScaling(const btVector3 &scaling)
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
virtual ~btStaticPlaneShape()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t...