transform method

void transform(
  1. Matrix3 t
)

Transform this by the transform t.

Implementation

void transform(Matrix3 t) {
  _updateCenterAndHalfExtents();
  t
    ..transform2(_center)
    ..absoluteRotate2(_halfExtents);
  _min
    ..setFrom(_center)
    ..sub(_halfExtents);
  _max
    ..setFrom(_center)
    ..add(_halfExtents);
}