mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 01:23:52 +00:00
fix(terrain): main game also propagates MODF scale to WMO instances
Mirrors the editor's WMO scale fix. WMOReady gains a scale field that is computed from the loaded MODF placement.scale (u16 / 1024) and forwarded to wmoRenderer->createInstance(). Without this the main game ignored MODF scale even on WotLK ADTs that use it.
This commit is contained in:
parent
cbf1d4638f
commit
1d05bb0f13
2 changed files with 5 additions and 1 deletions
|
|
@ -99,6 +99,7 @@ struct PendingTile {
|
|||
pipeline::WMOModel model;
|
||||
glm::vec3 position;
|
||||
glm::vec3 rotation;
|
||||
float scale = 1.0f;
|
||||
};
|
||||
std::vector<WMOReady> wmoModels;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue