Projection Class Reference

Inheritance diagram for Projection:

Inheritance graph
[legend]
Collaboration diagram for Projection:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 __construct ()
 makeOrthographic ($left, $right, $bottom, $top, $near, $far)
 makePerspective ($fovy, $aspect, $near, $far)


Constructor & Destructor Documentation

Projection::__construct (  ) 

Default constructor calling parent constructor.

Reimplemented from Matrix4x4.


Member Function Documentation

Projection::makeOrthographic ( left,
right,
bottom,
top,
near,
far 
)

Create an orthographic projection.

Parameters:
$left Left clipping plane.
$right Right clipping plane.
$bottom Bottom clipping plane.
$top Top clipping plane.
$near Near z clipping plane.
$far Far z clipping plane.
See also:
OpenGL function glOrtho

Projection::makePerspective ( fovy,
aspect,
near,
far 
)

Create a perspective projection.

Parameters:
$fovy Field of view in y direction in radians.
$aspect Aspect ratio of width to height.
$near Near z clipping plane.
$far Far z clipping plane.
See also:
OpenGL Utility function gluPerspective


The documentation for this class was generated from the following file:

Generated on Wed Jan 7 20:35:31 2009 for be_w3dr by  doxygen 1.5.6