How do I get the distance between 2 3d points?

BlitzMax Modules Forums/MiniB3D/How do I get the distance between 2 3d points?

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.

Similar to 2D. Add the squares of the difference in distances in x, y, z. Then take the square root of the result.

(Dx*Dx+Dy*Dy+Dz*Dz)^.5