Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csCBufferPersp Class Reference

Subclass of csCBuffer which adds perspective correction of 3d polygons. More...

#include <cbufcube.h>

Inheritance diagram for csCBufferPersp:

csCBuffer List of all members.

Public Methods

 csCBufferPersp (int sx, int sy, int nlines)
 Constructor.

bool InsertPolygon (csVector3 *verts, int num_verts, csClipper *clipper=NULL)
 Insert a polygon/frustum into the cube. More...

bool TestPolygon (csVector3 *verts, int num_verts, csClipper *clipper=NULL)
 Test for polygon/frustum visibility with the cube. More...


Detailed Description

Subclass of csCBuffer which adds perspective correction of 3d polygons.


Member Function Documentation

bool csCBufferPersp::InsertPolygon ( csVector3 * verts,
int num_verts,
csClipper * clipper = NULL )
 

Insert a polygon/frustum into the cube.

The optional 'clipper' will be used to clip the resulting polygon.

bool csCBufferPersp::TestPolygon ( csVector3 * verts,
int num_verts,
csClipper * clipper = NULL )
 

Test for polygon/frustum visibility with the cube.

The optional 'clipper' will be used to clip the resulting polygon.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000