Quaternionf

value class Quaternionf(val x: Float, val y: Float, val z: Float, val w: Float)(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: Float, y: Float, z: Float, w: Float)

Properties

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

Functions

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

Hamilton product; no normalization is performed.

Link copied to clipboard
Link copied to clipboard