calculateWorldAABB method
calculateWorldAABB
Implementation
@override
void calculateWorldAABB(Vec3 pos, Quaternion quat, Vec3 min, Vec3 max) {
// Faster approximation using local AABB
final frame = _calculateWorldAABBFrame;
final result = _calculateWorldAABBAabb;
frame.position = pos;
frame.quaternion = quat;
aabb.toWorldFrame(frame, result);
min.copy(result.lowerBound);
max.copy(result.upperBound);
}