Fix WMO visibility culling and renderer initialization guards

This commit is contained in:
Kelsi 2026-02-18 22:41:05 -08:00
parent ff8ffc3bfb
commit a30525d7c9
5 changed files with 17 additions and 10 deletions

View file

@ -142,6 +142,7 @@ public:
/**
* Get number of loaded models
*/
bool isInitialized() const { return initialized_; }
uint32_t getModelCount() const { return loadedModels.size(); }
/**
@ -573,6 +574,8 @@ private:
std::vector<WMOInstance> instances;
uint32_t nextInstanceId = 1;
bool initialized_ = false;
// Rendering state
bool wireframeMode = false;
bool frustumCulling = true;