Function graphics::math::translate [] [src]

pub fn translate<T>(v: Vec2d<T>) -> Matrix2d<T> where T: Float

Creates a translation matrix.