rotated method

Aabb3 rotated(
  1. Matrix4 t,
  2. Aabb3 out
)

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

Implementation

Aabb3 rotated(Matrix4 t, Aabb3 out) =>
    out
      ..copyFrom(this)
      ..rotate(t);