[][src]Trait gut::ops::transform::Translate

pub trait Translate<T> {
    fn translate(&mut self, t: [T; 3]);
}

Required methods

fn translate(&mut self, t: [T; 3])

Translate the object by the given translation vector (displacement) t.

Loading content...

Implementors

impl<T: BaseFloat, M: VertexPositions<Element = [T; 3]>> Translate<T> for M[src]

fn translate(&mut self, [x, y, z]: [T; 3])[src]

Translate the mesh by the given translation vector (displacement) t.

Loading content...