Jump to content
  • Advertisement

Archived

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

mits

Strange exception error....

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

I have a Point_3D structure like this: stuct Point_3D { float x,y,z; } and a Triangle structure like this: struct Triangle_3D { int a,b,c;} I have two arrays, one for points and one for triangles like this: Point_3D* m_points = new Point_3D[nPoints]; Triangle_3D* m_triangles = new Triangle_3D[nTris]; Then I read a vrml file and I fill these arrays. When somewhere in the program I try to do this, my program crashes: double p; for(i=0;i = (double)m_points[m_triangle[i].a].x; } Any idea (whatever you can think!) why is this happening? Please help! Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement

  • 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!