Skip to main content

Quat

Type Alias Quat 

Source
pub type Quat = TypedRotation3D<f32, UnknownUnit, UnknownUnit>;

Aliased Type§

pub struct Quat {
    pub i: f32,
    pub j: f32,
    pub k: f32,
    pub r: f32,
}

Fields§

§i: f32

Component multiplied by the imaginary number i.

§j: f32

Component multiplied by the imaginary number j.

§k: f32

Component multiplied by the imaginary number k.

§r: f32

The real part.