2 ms·
Quake3's Fast InvSqrt function: http://www.beyond3d.com/content/articles/8/ http://www.beyond3d.com/content/articles/8/ It's been discussed here before, and n
by smcl 16y ago
Quake3's Fast InvSqrt function:
http://www.beyond3d.com/content/articles/8/ http://www.beyond3d.com/content/articles/8/
It's been discussed here before, and no doubt it'll be cited numerous times in the comments of that reddit post, but it was the first time I'd ever seen such trickery. When I got into low level DSP programming I saw many more examples of clever hacks, but this is the one which sticks in my mind above all of those.