Trait nalgebra::Rotation [] [src]

pub trait Rotation<V> {
    fn rotation(&self) -> V;
    fn inverse_rotation(&self) -> V;
    fn append_rotation_mut(&mut self, &V);
    fn append_rotation(&self, amount: &V) -> Self;
    fn prepend_rotation_mut(&mut self, &V);
    fn prepend_rotation(&self, amount: &V) -> Self;
    fn set_rotation(&mut self, V);
}

Trait of object which can represent a rotation, and to which new rotations can be appended. A rotation is assumed to be an isometry without translation and without reflexion.

Required Methods

Gets the rotation associated with self.

Gets the inverse rotation associated with self.

Appends a rotation to this object.

Appends the rotation amount to a copy of t.

Prepends a rotation to this object.

Prepends the rotation amount to a copy of t.

Sets the rotation of self.

Implementors