multiplyByUniformScale
Computes the product of a matrix times a uniform scale, as if the scale were a scale matrix.
// Instead of Matrix3.multiply(m, Matrix3.fromUniformScale(scale), m);
Matrix3.multiplyByUniformScale(m, scale, m);
Content copied to clipboard
Return
The modified result parameter.
Parameters
matrix
The matrix on the left-hand side.
scale
The uniform scale on the right-hand side.
result
The object onto which to store the result.