R/from_sphere.R
quaternion2EulerAngles.Rd
from euclideanspace.com,
quaternion2EulerAngles(q)
Convention: Euler is (Heading, Attitude, Bank) so that Heading = rotation around y, Attitude = rotation around z, Bank = rotation around x, in that order.