transform method

AABB transform(
  1. Mat2D matrix
)

Implementation

AABB transform(Mat2D matrix) {
  return AABB.fromPoints([
    minimum,
    Vec2D.fromValues(maximum.x, minimum.y),
    maximum,
    Vec2D.fromValues(minimum.x, maximum.y)
  ], transform: matrix);
}