Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
Line Segment and Polygon Collision


 E-mail this product to a friend

Author:  DigiBen

Taking the above tutorial one step further, this tutorial deals with polygon collision.  There's a big difference.  This will tell you if a line segment intersects the actual polygon instead of the entire plane in which the polygon lies.

Functions Used:  glViewport(), glMatrixMode(), glLoadIdentity(), gluPerspective(), glClear(), gluLookAt(), glBegin(), glEnd(), SwapBuffers(), sqrt(), arcos(), _isnan()


 
 
 


 GameTutorials Software
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums