transform method Null safety
- Matrix4 t
Transform this by the transform t
.
Implementation
void transform(Matrix4 t) {
t
..transform3(_center)
..rotate3(_axis0..scale(_halfExtents.x))
..rotate3(_axis1..scale(_halfExtents.y))
..rotate3(_axis2..scale(_halfExtents.z));
_halfExtents
..x = _axis0.normalize()
..y = _axis1.normalize()
..z = _axis2.normalize();
}