QuaternionCreateFromAxisAngle(Vector3, Double) Method |
Creates a new
Quaternion from the specified axis and angle.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic static Quaternion CreateFromAxisAngle(
Vector3 axis,
double angle
)
Public Shared Function CreateFromAxisAngle (
axis As Vector3,
angle As Double
) As Quaternion
Parameters
- axis Vector3
- The axis of rotation.
- angle Double
- The angle in radians.
Return Value
QuaternionThe new quaternion builded from axis and angle.
See Also