Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

PmanC

vectors

This topic is 6019 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello again... i was going over vectors and vector math and i was wondering, how can a single point, a vector, have a direction? -PmanC

Share this post


Link to post
Share on other sites
Advertisement
Imagine that you''re standing at the origin and looking at your point. The way you''re looking is the point vector''s direction.

Share this post


Link to post
Share on other sites
another way of thinking of point vectors is:

+1, +2, -3

i.e. wherever you are, the direction of the point vector is +1 in the x-direction, +2 in the y-direction and -3 in the z-direction.

vectors are always in reference to some other point. think of it as a floating directional arrow. just add the values of the vector to whatever point you want the base of the arrow to be and you'll get the point that the arrow is "pointing at". the line from the base to the "pointing at" point is the direction of the vector.

-me

[edited by - Palidine on June 24, 2002 3:01:55 PM]

Share this post


Link to post
Share on other sites
oh... ok, so really the direction is the line created by the origin and the vector. -PmanC

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!