Method b3ComputeQuatBetweenUnitVectors
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3ComputeQuatBetweenUnitVectors(Vector3, Vector3)
Computes the shortest rotation taking one unit vector to another.
public static extern Quaternion b3ComputeQuatBetweenUnitVectors(Vector3 v1, Vector3 v2)Parameters
Returns
- Quaternion
-
The rotation.