Quaternion.toEulerAngles

Converts a quaternion to Euler angles. TODO: adds a EulerAngles type.

struct Quaternion(T)
@nogc pure const nothrow
toEulerAngles
()

Return Value

Type: vec3!T

A vector which contains roll-pitch-yaw as x-y-z.

Meta