Merge pull request #34 from aepsil0n/translate_doc

Fix erroneous Translate documentation
This commit is contained in:
Sébastien Crozet 2014-11-21 16:10:14 +01:00
commit cb720dc86c
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ pub trait Translation<V> {
fn set_translation(&mut self, V);
}
/// Trait of objects able to rotate other objects. This is typically implemented by matrices which
/// rotate vectors.
/// Trait of objects able to translate other objects. This is typically
/// implemented by vectors to translate points.
pub trait Translate<V> {
/// Apply a translation to an object.
fn translate(&self, &V) -> V;