makeShear method

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

Implementation

Matrix4 makeShear(double xy, double xz, double yx, double yz, double zx, double zy) {
  setValues(1, yx, zx, 0, xy, 1, zy, 0, xz, yz, 1, 0, 0, 0, 0, 1);

  return this;
}