gluPerspective(...)

Hi
i cannot find the gluPerspective function sources in glut 3.6 & 3.7 beta archives…
Do ya know where i can find theses sources (file?) … I need to have a look at them to
see how fov is interpreted (matrix construction)…
thanks…

gluPerspective is not a member of the GLUT library, it’s from the GLU library. You can download the source to Mesa 3D (OpenGL-like API), and look for the source to GLU, I think you can find it there.
http://mesa3d.sourceforge.net/

You can also find this in the recently-released OpenGL sample implementation on oss.sgi.com.