In file include/csengine/bspbbox.h:

class csBspContainer : public csPolygonParentInt

A container for a bunch of BSP polygons

Inheritance:


Public Methods

void AddPolygon(csPolygonInt* poly)
Add a polygon to this container.
csBspContainer()
Constructor.
csVector3Array& GetCameraVertices()
Get camera vector array for this container.
int GetNumPolygons()
Get the number of polygons in this polygonset.
csPolygonInt* GetPolygon(int idx)
Get the specified polygon from this set.
csPolygonInt** GetPolygons()
Get the array of polygons.
csVector3Array& GetVertices()
Get vector array for this container.
void World2Camera(const csTransform& trans)
Transform the vertices of this container from world to camera.
virtual ~csBspContainer()
Destructor.

Private Fields

csVector3Array cam_vertices
Array of camera space vertices.
int max_polygons
The maximum number of polygons.
int num_polygons
The current number of polygons.
csPolygonInt** polygons
The array of polygons.
csVector3Array vertices
Array of vertices.

Inherited from csPolygonParentInt:


Documentation

A container for a bunch of BSP polygons
csVector3Array vertices
Array of vertices.

csVector3Array cam_vertices
Array of camera space vertices.

csPolygonInt** polygons
The array of polygons.

int num_polygons
The current number of polygons.

int max_polygons
The maximum number of polygons.

csBspContainer()
Constructor.

virtual ~csBspContainer()
Destructor.

csVector3Array& GetVertices()
Get vector array for this container.

csVector3Array& GetCameraVertices()
Get camera vector array for this container.

void AddPolygon(csPolygonInt* poly)
Add a polygon to this container.

int GetNumPolygons()
Get the number of polygons in this polygonset.

csPolygonInt* GetPolygon(int idx)
Get the specified polygon from this set.

csPolygonInt** GetPolygons()
Get the array of polygons.

void World2Camera(const csTransform& trans)
Transform the vertices of this container from world to camera.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de