30 #ifndef PXFOUNDATION_PXMATHUTILS_H 31 #define PXFOUNDATION_PXMATHUTILS_H Definition: GuContactBuffer.h:37
PxU8 plane[sizeof(PxPlaneGeometry)]
Definition: PxGeometryHelpers.h:219
This is a quaternion class. For more information on quaternion mathematics consult a mathematics sour...
Definition: PxQuat.h:49
float PxReal
Definition: PxSimpleTypes.h:78
Representation of a plane.
Definition: PxPlane.h:50
PX_FOUNDATION_API PxTransform PxTransformFromSegment(const PxVec3 &p0, const PxVec3 &p1, PxReal *halfHeight=NULL)
creates a transform from the endpoints of a segment, suitable for an actor transform for a PxCapsuleG...
PX_FOUNDATION_API PxTransform PxTransformFromPlaneEquation(const PxPlane &plane)
creates a transform from a plane equation, suitable for an actor transform for a PxPlaneGeometry ...
PX_FOUNDATION_API PxVec3 PxDiagonalize(const PxMat33 &m, PxQuat &axes)
PX_FOUNDATION_API PxQuat PxShortestRotation(const PxVec3 &from, const PxVec3 &target)
finds the shortest rotation between two vectors.
3x3 matrix class
Definition: PxMat33.h:90
#define PX_FOUNDATION_API
Definition: PxFoundationConfig.h:51
PX_INLINE PxPlane PxPlaneEquationFromTransform(const PxTransform &transform)
creates a plane equation from a transform, such as the actor transform for a PxPlaneGeometry ...
Definition: PxMathUtils.h:90
#define PX_INLINE
Definition: PxPreprocessor.h:336
3 Element vector class.
Definition: PxVec3.h:49