fromEuler

fun fromEuler(d: Float3): Quaternion

Construct a Quaternion from Euler angles using YPR around ZYX respectively

The Euler angles are applied in ZYX order. i.e: a vector is first rotated about X (roll) then Y (pitch) and then Z (yaw).

Parameters

d

Per axis Euler angles in degrees

Sources

common source
Link copied to clipboard