graphics::math
pub fn translate<T>(v: Vec2d<T>) -> Matrix2d<T> where T: Float,
Creates a translation matrix.