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

 
 
previous | up | next 
Closest Point on a Line


 E-mail this product to a friend

Author:  DigiBen

This tutorials demonstrates how to find the point on a line segment that is closest to another point out in space.  This is used in the sphere and polygon collision tutorial.

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


 
 
 


 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