PxComputeAngle

Defined in include/foundation/PxMathUtils.h

inline PxF32 PxComputeAngle(const PxVec3 &v0, const PxVec3 &v1)

Compute the angle between two non-unit vectors.

Parameters
  • v0[in] is one of the non-unit vectors

  • v1[in] is the other of the two non-unit vectors

Returns

Returns the angle (in radians) between the two vector v0 and v1.