getBounds method
Gets bounds of a model (min and max coordinates).
Implementation
@override
Aabb3 getBounds() {
return Aabb3.minMax(
Vector3(
min(a.x, b.x),
min(a.y, b.y),
min(a.z, b.z),
),
Vector3(
max(a.x, b.x),
max(a.y, b.y),
max(a.z, b.z),
));
}