pub fn translate<N: Number>(m: &TMat4<N>, v: &TVec3<N>) -> TMat4<N>
Builds a translation 4 * 4 matrix created from a vector of 3 components and right-multiply it to m
.
m
− Input matrix multiplied by this translation matrix.
v
− Coordinates of a translation vector.