mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-02 21:23:49 -04:00
- character_renderer: precompute the (priorityPlane, materialLayer) batch render order on the M2 model at load time. Was allocating a std::vector<size_t> and running stable_sort per character per frame even though the result depends only on static model metadata. - wmo_renderer: per-instance portal visibility was built into an unordered_set, then copied to a vector, sorted, and binary-searched per group. Use the set directly with find() — O(1) per group, drops the per-instance copy + sort. Removed the now-dead scratch vector.