pub type Rotation = Rot2;Expand description
The rotation type.
Aliased Type§
#[repr(C)]pub struct Rotation {
pub re: f32,
pub im: f32,
}Fields§
§re: f32Real part (cosine of the angle).
im: f32Imaginary part (sine of the angle).
Trait Implementations§
Source§impl RotationOps<f32> for Rotation
Available on crate feature dim2 only.
impl RotationOps<f32> for Rotation
Available on crate feature
dim2 only.