Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
CCompiledBsp Class Reference
Inheritance diagram for CCompiledBsp:

Detailed Description
- Author:
- Marcel Smit
Definition at line 46 of file CCompiledBsp.h.
Public Member Functions | |
void | compile (CBsp *bsp) |
void | getHitLeafs (CVector &point, std::vector< CCompiledBsp * > &bspArray) |
void | getHitLeafs (CSphere &sohere, std::vector< CCompiledBsp * > &bspArray) |
void | clear () |
void | init () |
Initialize the mesh after all polygon / edge / vertex data has been created. This will calculate polygon & vertex normals, etc, etc. | |
Public Attributes | |
CPlane | plane |
Splitting plane. | |
CCompiledBsp * | child [2] |
Front & back children. | |
CCompiledMesh * | root |
Base mesh where vertex, edge, etc data is stored. | |
std::vector< CCompiledVertex > | vertex |
Vertices that make up the mesh's geometry. | |
std::vector< CCompiledTexcoord > | texcoord |
Texture coordinates used by the mesh's geometry. | |
std::vector< CCompiledEdge > | edge |
Edges used by the mesh's polygons. | |
std::vector< CCompiledPolygon > | polygon |
Polygons that constitute the mesh. | |
CCompiledMesh * | base |
Mesh where shared data is stored. | |
std::vector< int > | polygonIndex |
Index into polygon array of shared data mesh. | |
Protected Member Functions | |
void | getLeafNodes (CBsp *bsp, std::vector< CBsp * > &bspArray) |
void | getLeafNodes (std::vector< CCompiledBsp * > &cbspArray) |
void | replicateHierarchy (CBsp *bsp) |
Creates a hierarchy structure that resembles the tree structure of bsp. |
Member Function Documentation
|
Compiles the bsp tree into a compiled bsp structure.
|
|
Get the leafs the point is in. |
|
Get the leafs the sphere is in. |
The documentation for this class was generated from the following file:
Generated on Tue Feb 8 21:59:33 2005 for MarSTDv2004 by
