Rotation

Type Alias Rotation 

Source
pub type Rotation = Rot2;
Expand description

The rotation type.

Aliased Type§

#[repr(C)]
pub struct Rotation { pub re: f32, pub im: f32, }

Fields§

§re: f32

Real part (cosine of the angle).

§im: f32

Imaginary part (sine of the angle).