internal: store bounding box with SceneAsset rather than recalculating from renderables

This commit is contained in:
Nick Fisher
2025-01-07 12:02:44 +08:00
parent 124eed0264
commit 0e5253f7b3
12 changed files with 78 additions and 25 deletions

View File

@@ -159,7 +159,9 @@ namespace thermion
}
}
const filament::Aabb getBoundingBox() const override {
return _instance->getBoundingBox();
}
private:
filament::Engine *_engine;