Author: DigiBen
This tutorial will show you how to find the intersection of a sphere and a polygon. This is not just for triangles, but is modular for many sided polygons such as quads.
Functions Used: sqrt(), acos(), gluSphere(), glColor3ub(), glVertex3f(), glVertex3f(), glBegin(), glEnd(), SwapBuffers()
purchase full version
Access EXE