linearly v0.32.0 • Docs
linearly v0.32.0 / quat / fromEuler
Function: fromEuler()
fromEuler(
deg
,order
):number
[]
Creates a quaternion from the given euler angle x, y, z using the provided intrinsic order for the conversion.
Parameters
• deg: vec3
Angles to rotate around X, Y, Z axes in degree.
• order: AngleOrder
= Common.DEFAULT_ANGLE_ORDER
Intrinsic order for conversion, default is zyx.
Returns
number
[]