[][src]Function nalgebra_glm::translation2d

pub fn translation2d<N: Number>(v: &TVec2<N>) -> TMat3<N>

A 3 * 3 translation matrix created from the scaling factor on each axis.

See also: