Type Alias Rotation

Source
pub type Rotation<S> = Rotation2D<S>;
Expand description

Alias for euclid::default::Rotation2D

Aliased Type§

#[repr(C)]
pub struct Rotation<S> { pub angle: S, }

Fields§

§angle: S

Angle in radians

Trait Implementations§

Source§

impl<S: Scalar> Transformation<S> for Rotation<S>

Source§

fn transform_point(&self, p: Point<S>) -> Point<S>

Source§

fn transform_vector(&self, v: Vector<S>) -> Vector<S>