@novorender/api / computeRotation
Function: computeRotation()
function computeRotation(
roll,
pitch,
yaw): quat;
Defined in: @novorender/src/web_app/controller/orientation.ts:107
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