3 ms·
And it is still there: https://github.com/id-Software/Quake-III-Arena/blob/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/game/q_math.c#L552 https://github.com/i
by hs86 8y ago
And it is still there: https://github.com/id-Software/Quake-III-Arena/blob/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/game/q_math.c#L552 https://github.com/id-Software/Quake-III-Arena/blob/dbe4ddb1...
More info: https://en.wikipedia.org/wiki/Fast_inverse_square_root https://en.wikipedia.org/wiki/Fast_inverse_square_root
- senatorobama 8y agoHow to get this good? :D
- mhh__ 8y agoKnow your math (and floating point hacks, and ...)
- russdill 8y agoHeh, I still remember from the wolf3d release the self modifying code: https://github.com/id-Software/wolf3d/blob/master/WOLFSRC/WL_DR_A.ASM#L235 https://github.com/id-Software/wolf3d/blob/master/WOLFSRC/WL...