multiplied method

AffineMatrix multiplied(
  1. AffineMatrix other
)

Creates a new affine matrix of this concatenated with other.

Implementation

AffineMatrix multiplied(AffineMatrix other) {
  return AffineMatrix(
    (a * other.a) + (c * other.b),
    (b * other.a) + (d * other.b),
    (a * other.c) + (c * other.d),
    (b * other.c) + (d * other.d),
    (a * other.e) + (c * other.f) + e,
    (b * other.e) + (d * other.f) + f,
    _m4_10 * other._m4_10,
  );
}