Jolt Physics
A multi core friendly Game Physics Engine
|
#include <ConvexSupport.h>
Public Member Functions | |
TransformedConvexObject (Mat44Arg inTransform, const ConvexObject &inObject) | |
Create transformed convex object. | |
Vec3 | GetSupport (Vec3Arg inDirection) const |
Calculate the support vector for this convex shape. | |
template<class VERTEX_ARRAY > | |
void | GetSupportingFace (Vec3Arg inDirection, VERTEX_ARRAY &outVertices) const |
Get the vertices of the face that faces inDirection the most. | |
Public Attributes | |
Mat44 | mTransform |
const ConvexObject & | mObject |
Helper functions to get the support point for a convex object Structure that transforms a convex object (supports only uniform scaling)
|
inline |
Create transformed convex object.
|
inline |
Calculate the support vector for this convex shape.
|
inline |
Get the vertices of the face that faces inDirection the most.
const ConvexObject& TransformedConvexObject< ConvexObject >::mObject |
Mat44 TransformedConvexObject< ConvexObject >::mTransform |