Allright, i have 2 3d-points, and i'd like to know the distance between them. So how to calculate it?
mikael_aronsson
03-15-2003, 07:07 AM
Hi !
Have a look here:
http://freespace.virgin.net/hugo.elias/routines/r_dist.htm
Mikael
jiangerlai
03-15-2003, 03:27 PM
sqrt(sqr(x1-x2)+sqr(y1-y2)+sqr(z1-z2))
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.