Function glm::ext::scale
[−]
[src]
pub fn scale<T>(m: &Matrix4<T>, v: Vector3<T>) -> Matrix4<T> where
T: BaseFloat + GenFloat<T>,
Builds a scale 4 * 4 matrix created from 3 scalars.
m
is the input matrix multiplied by this scale matrix.
v
is the ratio of scaling for each axis.