Trait geomath::prelude::transforms::Rotation2 [−][src]
pub trait Rotation2 where
Self: Sized + Copy + Clone + Initializer, {
fn set_rotation(&mut self, angle: f64) -> &mut Self;
fn from_rotation(angle: f64) -> Self { ... }
}
Expand description
2D rotations matrix
Required methods
fn set_rotation(&mut self, angle: f64) -> &mut Self
fn set_rotation(&mut self, angle: f64) -> &mut Self
Set a rotation matrix from angle
Provided methods
fn from_rotation(angle: f64) -> Self
fn from_rotation(angle: f64) -> Self
Get a rotation matrix from angle