DeviateFish / ingress-model-viewer

Ingress Model Viewer
MIT License
33 stars 8 forks source link

Optimize matrix updates #25

Open DeviateFish opened 9 years ago

DeviateFish commented 9 years ago

Rather than updating the local and model matrices every time one of their components changes, only update them next time you need to draw them, if the values are stale.

DeviateFish commented 9 years ago

Definitely feel like I saw seeing the effects of this in the abaddon demo video. Things looked a little choppy at times.