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

fn rotate(&self, v: &V) -> V

Applies a rotation to v.

fn inverse_rotate(&self, v: &V) -> V

Applies an inverse rotation to v.

Implementors