Skip to content

scale

void  scale(matrix2 &m, vector2 scale_vector)

void  scale(matrix &m, vector scale_vector)

void  scale(matrix3 &m, vector scale_vector)

Scales the matrix in three directions simultaneously by the factors in the vector. This modifies the matrix in-place, rather than returning a new matrix.