title: gluPerspective was removed in OpenGL 3.1, any replacements?
body: <p>I'm trying to read some OpenGL tutorials on the net. the problem is that I found some old ones that use <code>gluPerspective()</code>. gluPerspective was deprecated in OpenGL 3.0 and removed in 3.1.</p>
  
  <p>What function can I use instead?</p>
  
  <p>I'm using C++ with latest FreeGlut installed.</p>