estimateRotationYX
estimateRotationYX(
axisY
,axisX
):Quaternion
Approximate rotation quaternion from basis vectors
Y vector defined the main Y axis that says fixed. Provided X vector is preferred direction of X axis. Z axis is evaluated to be perpendicular to both Y and X and form right-handed basis. Finally, X axis is re-normalized to form orthonormal basis.
Parameters
• axisY: Vector3
The main Y axis
• axisX: Vector3
Preferred direction of X axis
Returns
Quaternion
Rotation quaternion