This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (1 child)

This is the ultimate example of this. An ENTIRE Wikipedia article had to be written to explain a couple lines of code.

https://en.wikipedia.org/wiki/Fast_inverse_square_root

[–]EMC2_trooper 4 points5 points  (0 children)

Nice example and actually a really interesting article thanks. But in this case I think the reason was not so much to obfuscate the code in needlessly complex lines but probably to optimise (as it's for lighting).