mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Transport hell
This commit is contained in:
parent
2e923311d0
commit
f3f3b62880
12 changed files with 912 additions and 126 deletions
|
|
@ -406,6 +406,13 @@ private:
|
|||
glm::vec3 worldBoundsMax;
|
||||
std::vector<std::pair<glm::vec3, glm::vec3>> worldGroupBounds;
|
||||
|
||||
// Doodad tracking: M2 instances that are children of this WMO
|
||||
struct DoodadInfo {
|
||||
uint32_t m2InstanceId; // ID of the M2 instance
|
||||
glm::mat4 localTransform; // Local transform relative to WMO origin
|
||||
};
|
||||
std::vector<DoodadInfo> doodads;
|
||||
|
||||
void updateModelMatrix();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue