3 ms·
I remember when this came up on gamedev.net many years ago and Chris Lomont (who, at least at the time - don't know about now, was a regular on the gamedev.net
by dkersten 16y ago
I remember when this came up on gamedev.net many years ago and Chris Lomont (who, at least at the time - don't know about now, was a regular on the gamedev.net forums) came up with his paper explaining why this works (and coming up with a better constant). Brings me back :-P
Of course, this site is so much easier to understand than Chris' paper.
The history of this function (posted on Beyond3D[1]) is facinating too.
[1] Part 1: http://www.beyond3d.com/content/articles/8/ http://www.beyond3d.com/content/articles/8/ and part 2: http://www.beyond3d.com/content/articles/15/ http://www.beyond3d.com/content/articles/15/