@novorender/web_app / computeRotation
Function: computeRotation()
function computeRotation(
roll,
pitch,
yaw): quat
Compute rotation quaternion from roll, pitch and yaw angles.
Parameters
Parameter | Type | Description |
---|---|---|
roll | number | Roll angle in degrees, |
pitch | number | Pitch angle in degrees, |
yaw | number | Yaw angle in degrees, |
Returns
quat