mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
refactor: extract updateEntityInterpolation() from update()
Move entity movement interpolation loop (distance-culled per-entity update) into its own method. update() is now ~406 lines (down from original 704, a 42% reduction across 3 extractions).
This commit is contained in:
parent
6343ceb151
commit
123a19ce1c
2 changed files with 30 additions and 25 deletions
|
|
@ -2316,6 +2316,7 @@ public:
|
|||
void update(float deltaTime);
|
||||
void updateNetworking(float deltaTime);
|
||||
void updateTimers(float deltaTime);
|
||||
void updateEntityInterpolation(float deltaTime);
|
||||
|
||||
/**
|
||||
* Reset DBC-backed caches so they reload from new expansion data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue