makeScale method

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

Implementation

Matrix4 makeScale(double x, double y, double z) {
  setValues(x, 0, 0, 0, 0, y, 0, 0, 0, 0, z, 0, 0, 0, 0, 1);

  return this;
}