Method b3MakeQuatFromAxisAngle
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3MakeQuatFromAxisAngle(Vector3, float)
Builds a rotation about an axis.
public static Quaternion b3MakeQuatFromAxisAngle(Vector3 axis, float radians)Parameters
axisVector3-
The rotation axis, which must be normalized.
radiansfloat-
The rotation angle in radians.
Returns
- Quaternion
-
The rotation.