Picked length?

Blitz3D Forums/Blitz3D Programming/Picked length?

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.

Pythagorean Therom:

d#=sqr((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)+(z1-z2)*(z1-z2))

Where x1,y1,z1 us the start point of the pick, and x2,y2,z2 is the end point. (you obtain endpoint by PickedX(),PickedY(),and PickedZ())