A few math-based micro-optimization tricks
I love micro-optimizing my code. This is rarely necessary, but I dislike unnecessary computation. Adopting these optimization tricks won’t double your FPS, but you can sleep happily knowing that you avoided a square root.
Continue reading