Getting a vector

Started by
1 comment, last by Goodlife 23 years, 10 months ago
Hi everyone, Is there some simple operation for getting the vector between two points? The method I have now involves taking the arc-tangent of the x/y, x/z, y/z directions and seems a little lengthy. Thanks! -- Goodlife ----------------------------- Think of your mind as a door on a house. Leave the door always closed, and it's not a house, it's a prison. Leave the door always open, and it's not a house, it's a wilderness-- all the vermin creep in.
-- Goodlife-----------------------------Those whom the gods would destroy, they first drive mad.--DirectX design team official motto
Advertisement
don''t you simply have to substract the points to get a vector between them?

ArgoN
I think you''re right argon. And maybe normalize the vector...
Indifference will be the downfall of mankind. But who cares?

This topic is closed to new replies.

Advertisement