MarSTDv2004: CBspSplitInfo Struct Reference

MarSTDv2004

CBspSplitInfo Struct Reference

Collaboration diagram for CBspSplitInfo:

Collaboration graph
[legend]
List of all members.

Detailed Description

The CBspSplitInfo structure is used to store the results of "a try" to split a BSP node with a specific plane. The BSP compiler uses these statistics to determine the "optimal" splitting plane before actually splitting itself. Which plane will be optimal depends on the test() function of the BSP class.

Definition at line 33 of file CBsp.h.

Public Attributes

CPlane plane
 Splitting plane.
int planeFlipped
 Set to 1 if the plane derived from a polygon was flipped when performing the test.
int fc
 Number of polygons in front of plane, after split.
int bc
 Number of polygons behind plane, after split.
int dc
 Difference of front and back polys.
int sc
 Number of polygons spanning plane.

The documentation for this struct was generated from the following file:
Generated on Tue Feb 8 21:59:32 2005 for MarSTDv2004 by  doxygen 1.4.1