Trait nalgebra::Rotate [] [src]

pub trait Rotate<V> {
    fn rotate(&self, v: &V) -> V;
    fn inverse_rotate(&self, v: &V) -> V;
}

Trait of objects able to rotate other objects.

This is typically implemented by matrices which rotate vectors.

Required Methods

Applies a rotation to v.

Applies an inverse rotation to v.

Implementors