You've got me curious about this now too lol. I work with games and love this kind of thing. I'll know more once I'm not trying to do research on a phone, but the squaring part looks like just a distance formula (A^2 + B^2 = C^2). My very rough guess with the subtracting and adding is you're basically doing vector math but I'm unsure. I can respond or edit later as I find out more.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments