makeScale method

Matrix4 makeScale(
  1. num x,
  2. num y,
  3. num z
)

Implementation

Matrix4 makeScale(num x, num y, num z) {
  set(x, 0, 0, 0, 0, y, 0, 0, 0, 0, z, 0, 0, 0, 0, 1);

  return this;
}