five-on-it / packages/shared/src/math / yawFromQuat
Function: yawFromQuat()
yawFromQuat(
q):number
Defined in: packages/shared/src/math.ts:35
Heading around +y of a rotation, in radians (-π, π]. Yaw 0 faces +z and positive yaw turns toward +x (right-handed, counter-clockwise seen from above).
Parameters
q
Returns
number