Function graphics::math::translate
[−]
[src]
pub fn translate<T = Scalar>(v: Vec2d<T>) -> Matrix2d<T> where T: Float
Creates a translation matrix.
pub fn translate<T = Scalar>(v: Vec2d<T>) -> Matrix2d<T> where T: Float
Creates a translation matrix.