Function nalgebra_glm::translation2d [−][src]
pub fn translation2d<T: Number>(v: &TVec2<T>) -> TMat3<T>
Expand description
A 3 * 3 translation matrix created from the scaling factor on each axis.
pub fn translation2d<T: Number>(v: &TVec2<T>) -> TMat3<T>
A 3 * 3 translation matrix created from the scaling factor on each axis.