Create a direction from 2 3D points
Okay so I''m being redundant but I just have one last question.
Lets say I have 2 #d points and I want to build a direction vector.
Do I subtract 2 from 1 then normailize the vector to get the direction?
Nick
Lets have 2 points, a and b.
To get direction from a to b you just: normalise(b-a).
Depending on what you want the direction vector for you may be able to skip the normalisation part.
[edited by - SoulSpectre on May 31, 2004 9:20:19 PM]
To get direction from a to b you just: normalise(b-a).
Depending on what you want the direction vector for you may be able to skip the normalisation part.
[edited by - SoulSpectre on May 31, 2004 9:20:19 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement