distance formulas

BlitzMax Forums/BlitzMax Programming/distance formulas

Fetze - in my tests your ApproxDistance function is still slower than Sqr(). I tested it in Blitz3D.

[EDIT: of course I realise that it may be faster on very old hardware, and definitely on simpler devices (PDAs etc).]