[][src]Function nalgebra_glm::translation

pub fn translation<N: Number>(v: &TVec3<N>) -> TMat4<N>

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

See also: