3 ms·
As mentioned in the article, it reminds me of the 0x5f3759df fast inverse square root used in Quake III Arena! https://medium.com/hard-mode/the-legendary-fast-
by peterburkimsher 5y ago
As mentioned in the article, it reminds me of the 0x5f3759df fast inverse square root used in Quake III Arena!
https://medium.com/hard-mode/the-legendary-fast-inverse-square-root-e51fee3b49d9 https://medium.com/hard-mode/the-legendary-fast-inverse-squa...
This is where I really see CS as being close to mathematics.
- marcellus23 5y agoAsk me how I know you didn’t read the article :)
- SolarNet 5y ago> As mentioned in the article
- peterburkimsher 5y agoTouché, I edited it. I still thought it's worth keeping the comment because people might not always realise how useful these hacks can be when performance is important e.g. games.