Quaterniond

value class Quaterniond(val x: Double, val y: Double, val z: Double, val w: Double)(source)

Immutable quaternion components in x, y, z, w order, distinct from a four-dimensional vector. Construction and conversion preserve components; they do not normalize or validate a rotation.

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, z: Double, w: Double)

Properties

Link copied to clipboard
val w: Double
Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double
Link copied to clipboard
val z: Double

Functions

Link copied to clipboard
Link copied to clipboard
operator fun times(other: Quaterniond): Quaterniond

Hamilton product; no normalization is performed.

Link copied to clipboard
Link copied to clipboard