lyon_geom

Type Alias Rotation

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

Alias for euclid::default::Rotation2D

Aliased Type§

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>