Function nalgebra_glm::translation
source · pub fn translation<T: Number>(v: &TVec3<T>) -> TMat4<T>
Expand description
A 4 * 4 translation matrix created from the scaling factor on each axis.
pub fn translation<T: Number>(v: &TVec3<T>) -> TMat4<T>
A 4 * 4 translation matrix created from the scaling factor on each axis.