mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-24 07:23:51 +00:00
Weather::update walked the particle vector twice (update, then copy position into the GPU upload buffer) and called camera.getPosition() once per particle inside updateParticle. Fold both passes into one loop and hoist the camera read once. For storms with thousands of particles, that's one pass instead of two plus N fewer member reads. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| math | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||