rotate method
- Matrix4 t
Rotate this by the rotation matrix t
.
Implementation
void rotate(Matrix4 t) {
_updateCenterAndHalfExtents();
t.absoluteRotate(_halfExtents);
_min
..setFrom(_center)
..sub(_halfExtents);
_max
..setFrom(_center)
..add(_halfExtents);
}