mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix WMO visibility culling and renderer initialization guards
This commit is contained in:
parent
ff8ffc3bfb
commit
a30525d7c9
5 changed files with 17 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue