distance formulas

BlitzMax Forums/BlitzMax Programming/distance formulas

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In Debug yes, then Beakers is faster. In release yours is faster.

' 10000000 calls each
Time Fetze: 267
Time Beaker: 1190



But the main reason here is that yours is Int only. If you use the Distance Approx that base on Float with their bitshift approximations, they will be slower than simply using SQR.