fromEuler

fun fromEuler(yaw: Float, pitch: Float, roll: Float)

Sets the quaternion based on Euler angles (Yaw, Pitch, Roll) in radians. Converts Euler angles to quaternion representation.

Parameters

yaw

The yaw angle in radians.

pitch

The pitch angle in radians.

roll

The roll angle in radians.