PxMathUtils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PX_FOUNDATION_API PxQuat PxShortestRotation (const PxVec3 &from, const PxVec3 &target)
 finds the shortest rotation between two vectors. More...
 
PX_FOUNDATION_API PxVec3 PxDiagonalize (const PxMat33 &m, PxQuat &axes)
 
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 PxCapsuleGeometry More...
 
PX_FOUNDATION_API PxTransform PxTransformFromPlaneEquation (const PxPlane &plane)
 creates a transform from a plane equation, suitable for an actor transform for a PxPlaneGeometry More...
 
PX_INLINE PxPlane PxPlaneEquationFromTransform (const PxTransform &transform)
 creates a plane equation from a transform, such as the actor transform for a PxPlaneGeometry More...