3 ms·
When you're writing a game engine, your main concern is performance. Not using the built-in javascript sqrt() and rolling out your own would be woefully ineffic
by othello 16y ago
When you're writing a game engine, your main concern is performance. Not using the built-in javascript sqrt() and rolling out your own would be woefully inefficient.
That question would have made more sense for an engine in C, building your own fixed-point sqrt() for example.