Trait nalgebra::traits::geometry::Rotate
pub trait Rotate<V> { fn rotate(&self, v: &V) -> V; fn inv_rotate(&self, v: &V) -> V; }
Trait of objects able to rotate other objects.
This is typically implemented by matrices which rotate vectors.
Required Methods
fn rotate(&self, v: &V) -> V
Applies a rotation to v
.
fn inv_rotate(&self, v: &V) -> V
Applies an inverse rotation to v
.