Type Alias nalgebra_glm::Qua

source ·
pub type Qua<T> = Quaternion<T>;
Expand description

A quaternion with components of type T.

Aliased Type§

struct Qua<T> {
    pub coords: Matrix<T, Const<4>, Const<1>, ArrayStorage<T, 4, 1>>,
}

Fields§

§coords: Matrix<T, Const<4>, Const<1>, ArrayStorage<T, 4, 1>>

This quaternion as a 4D vector of coordinates in the [ x, y, z, w ] storage order.