forked from M-Labs/nalgebra
Merge pull request #34 from aepsil0n/translate_doc
Fix erroneous Translate documentation
This commit is contained in:
commit
cb720dc86c
@ -29,8 +29,8 @@ pub trait Translation<V> {
|
|||||||
fn set_translation(&mut self, V);
|
fn set_translation(&mut self, V);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Trait of objects able to rotate other objects. This is typically implemented by matrices which
|
/// Trait of objects able to translate other objects. This is typically
|
||||||
/// rotate vectors.
|
/// implemented by vectors to translate points.
|
||||||
pub trait Translate<V> {
|
pub trait Translate<V> {
|
||||||
/// Apply a translation to an object.
|
/// Apply a translation to an object.
|
||||||
fn translate(&self, &V) -> V;
|
fn translate(&self, &V) -> V;
|
||||||
|
Loading…
Reference in New Issue
Block a user