rotated method

Aabb2 rotated(
  1. Matrix3 t,
  2. Aabb2 out
)

Create a copy of this that is rotated by the rotation matrix t and store it in out.

Implementation

Aabb2 rotated(Matrix3 t, Aabb2 out) =>
    out
      ..copyFrom(this)
      ..rotate(t);