Blitz inbuild functions much faster than thought

Blitz3D Forums/Blitz3D Beginners Area/Blitz inbuild functions much faster than thought

Um, thats great and all, but by optimize do you mean break? Because, your function returns the incorrect answer. Sqr is necessary to calculate distance correctly (although there are some approximations that do not use sqr).

You can do this sometimes, but usually only when comparing to another distance that wasnt sqrooted.

<edit>ah, nvrmind. I dont have b3d on this computer (just bmax on a flash drive). I guess you mean that entity distance is faster than your algorithm without even using a sqr?