ProjectionMatrix Class Reference

Encapsulates a limited OpenGL projection matrix. More...

#include <GLutils.h>

Inheritance diagram for ProjectionMatrix:

Inheritance graph
[legend]
Collaboration diagram for ProjectionMatrix:

Collaboration graph
[legend]
List of all members.

Public Methods

void setPerspective (double fovy, double aspect, double zNear, double zFar)
 This does what gluPerspective does.


Detailed Description

Encapsulates a limited OpenGL projection matrix.

This code was adapted from SGI's reference implementation of OpenGL, namely their function "gluPerspective."

Note:
I would use "gluPerspective" directly, except for the fact that I can't always depend on having a stable OpenGL rendering context below me to hold the matrices.

Definition at line 36 of file GLutils.h.


The documentation for this class was generated from the following files:
Generated on Tue May 21 03:35:12 2002 for Archimedes by doxygen1.2.15