Jump to content
  • Advertisement

Archived

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

ScottC

Vectors

This topic is 5360 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

Same as an array that has no set amount of whatever type it is? Allows infinite amounts under that array?

Share this post


Link to post
Share on other sites
Advertisement
Vector == Array.
Also, in geometry, vector means "a direction or a point in space".

-Nik

EDIT: I found a better definition.

[edited by - Nik02 on October 16, 2003 9:36:34 AM]

Share this post


Link to post
Share on other sites
Thanks, I was wondering.

Do they use arrays in games like halflife for size of world and like vectors for seemless world type games?

Share this post


Link to post
Share on other sites
You must mean STL vector template by "vector".
It is a helper, encapsulating an array of any type of variables.
I don''t know whether they used it or raw arrays, you can achieve same things with both. Vector is more flexible, though.

-Nik

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!