makeShear method

Matrix4 makeShear(
  1. num xy,
  2. num xz,
  3. num yx,
  4. num yz,
  5. num zx,
  6. num zy,
)

Implementation

Matrix4 makeShear(num xy, num xz, num yx, num yz, num zx, num zy) {
  set(1, yx, zx, 0, xy, 1, zy, 0, xz, yz, 1, 0, 0, 0, 0, 1);

  return this;
}