Thread: Vector
View Single Post
Old 04-12-2010, 11:20 AM   #39
0zyx0
Perfectionist noob
 
0zyx0's Avatar
 
Join Date: Mar 2009
Posts: 255

0zyx0 will become famous soon enough (38)0zyx0 will become famous soon enough (38)

Default

GetXyzDistance could be done by subtracting one of the vectors from the other, and getting the length of the resulting vector. GetXyDistance would be done the same way, but you would have to make sure the two vectors have the same z-component first.
__________________
My new signature - Now easier to understand than ever!
0zyx0 is offline   Reply With Quote