Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun fromAngles(pitch: Double, roll: Double, yaw: Double): Quaternion

Construct Quaternion from a set of degrees

Link copied to clipboard
fun fromAnglesRadian(pitch: Double, roll: Double, yaw: Double): Quaternion

Construct Quaternion from a set of arc lengths

Link copied to clipboard

Construct Quaternion from axes

Link copied to clipboard
fun fromLookAt(from: Vector3, to: Vector3, up: Vector3 = Vector3.UNIT_Y): Quaternion

Construct Quaternion using from, to and up vectors

Link copied to clipboard