PxComputeBasisVectors#
Defined in include/foundation/PxMathUtils.h
- inline void PxComputeBasisVectors( )#
Compute two normalized vectors (right and up) that are perpendicular to an input normalized vector (dir).
- Parameters:
dir – [in] is a normalized vector that is used to compute the perpendicular vectors.
right – [out] is the first of the two vectors perpendicular to dir
up – [out] is the second of the two vectors perpendicular to dir