function.computeRotation
API > computeRotation
Function: computeRotation
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