Function nalgebra_glm::scale [−][src]
pub fn scale<N: Number>(m: &TMat4<N>, v: &TVec3<N>) -> TMat4<N>
Builds a scale 4 * 4 matrix created from 3 scalars and right-multiply it to m
.
Parameters
- m − Input matrix multiplied by this scale matrix.
- v − Ratio of scaling for each axis.