Trait nannou::math::Vec2Angle[][src]

pub trait Vec2Angle {
    fn angle(self) -> f32;
}
Expand description

Short-hand for retrieving the angle of the vector in radians.

Required methods

The angle of the vector in radians.

Implemented internally as glam::Vec2::X.angle_between(self).

Implementors