Companion
object Companion
Functions
Link copied to clipboard
Construct a Quaternion from an axis and angle in degrees
Link 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
Construct a Quaternion from Euler yaw, pitch, roll around a specified order.
Link copied to clipboard
Create a Quaternion representing the shortest rotation from one vector to another.