Quaternion.toAxisAngle

Calc the Axis and angle of rotation of this Quaternion

struct Quaternion(T = floatt)
nothrow @nogc pure const
Vector!(T, 3)
toAxisAngle
(
out T angle
)
if (
__traits(isFloating, T)
)

Parameters

angle T

Set to angle of rotation

Return Value

Type: Vector!(T, 3)

Axis of rotation vector

Meta