Sign in to follow this  
qwertyuiop23

Vector holding triangle vertices

Recommended Posts

I am creating a collisions DLL right and i am having trouble getting all my model points saved into it. Right what i want to do is have an array of a kind that holds the model id and triangle number and the three vertices of that triangle. Sort of like this model[id,triangle_num,v1,v2,v3] where id is the model number and triangle_number increases everytime three vertices are assigned to it. Now my questions: How to do this using arrays? And is there a better faster way than arrays? Cheers ~Qwertyuiop23 [Edited by - qwertyuiop23 on March 8, 2008 10:47:16 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this