fix recentering

This commit is contained in:
Stewart Allen 2025-06-16 00:18:44 -04:00
commit 77e4d39431
6 changed files with 27 additions and 46 deletions

View file

@ -36,7 +36,7 @@ class MeshGroup extends meshObject {
get bounds() {
let box3 = new Box3();
for (let model of this.models) {
box3.union(model.world_bounds);
box3.union(model.bounds);
}
return box3;
}