This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
I read this article and I know it’s written in English, but I’ve accepted defeat in trying to understand it.
I write code for a living and I’m doing my best to ignore the feelings of inadequacy I’m currently experiencing.
I may have shared the link but even I don’t know how it how it works.
It’s like admiring the Eiffel Tower; you can understand that it’s a marvel of engineering without understanding the underlying engineering concepts. Such experiences are rare but they truly humble you.
Regarding the square root, understand the following concepts
0010 << 1 → 0100
n
with a nice shift amountx
(I have greatly greatly over-simplified this), then you can calculate the inverse sq. root since inverse square root is2^(-1/2)
The resultant shifting gives us an answer which is close enough to the answer, and that is good enough for FPS games for calculation of reflections.
Source for bitshifting
PS: Someone who is more experienced in this domain can correct me if I’m wrong.