xSkewed method

AffineMatrix xSkewed(
  1. double x
)

Creates a new affine matrix, skewed along the x axis.

Implementation

AffineMatrix xSkewed(double x) {
  return multiplied(AffineMatrix(
    identity.a,
    identity.b,
    math.tan(x),
    identity.d,
    identity.e,
    identity.f,
    identity._m4_10,
  ));
}