Type Alias autd3_driver::geometry::Quaternion

source ·
pub type Quaternion = Quaternion<f64>;

Aliased Type§

struct Quaternion {
    pub coords: Matrix<f64, Const<4>, Const<1>, ArrayStorage<f64, 4, 1>>,
}

Fields§

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

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

Trait Implementations§

source§

impl<T> Deref for Quaternion<T>where T: Scalar + SimdValue,

§

type Target = IJKW<T>

The resulting type after dereferencing.
source§

fn deref(&self) -> &<Quaternion<T> as Deref>::Target

Dereferences the value.