  | 
   FOV Example 
   Submitted by  |   
  
  
void setFov(GLfloat fov) {
    GLfloat w = winW / winH;
    glMatrixMode(GL_PROJECTION);
    glFrustum (-w, w, -1.0, 1.0, fov, 9999);
    glMatrixMode(GL_MODELVIEW);
    glViewport(0, 0, winW, winH);
}  |  
 
  
 | 
 
 
 
Download Associated File: fov.cpp (209 bytes)
 
 void setFov(GLfloat fov) {
    GLfloat w = winW / winH;
    glMatrixMode(GL_PROJECTION);
    glFrustum (-w, w, -1.0, 1.0, fov, 9999);
    glMatrixMode(GL_MODELVIEW);
    glViewport(0, 0, winW, winH);
}
  |  
  
 | 
 
 
 
The zip file viewer built into the Developer Toolbox made use
of the zlib library, as well as the zlibdll source additions.
 
 
 |