Companion
Functions
from Axis Angle
Link copied to clipboard
Construct a Quaternion from an axis and angle in degrees
from Euler
Link copied to clipboard
fun fromEuler(d: Float3, order: RotationsOrder = RotationsOrder.ZYX): Quaternion
Content copied to clipboard
Construct a Quaternion from Euler angles using YPR around a specified order
fun fromEuler(yaw: Float = 0.0f, pitch: Float = 0.0f, roll: Float = 0.0f, order: RotationsOrder = RotationsOrder.ZYX): Quaternion
Content copied to clipboard
Construct a Quaternion from Euler yaw, pitch, roll around a specified order.
Sources
common source
Link copied to clipboard