QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
BSP Creation Functions

Functions

void CalcSurfaceInfo (struct surface_s *surf)
 Calculate the bounding box of the surface. More...
 
struct node_sSolidBSP (struct surface_s *surfhead, qboolean midsplit)
 Partition the surfaces, creating a nice bsp. More...
 

Variables

int c_empty
 
int c_solid
 
int c_water
 
int leaffaces
 
int nodefaces
 
int splitnodes
 
qboolean usemidsplit
 

Detailed Description

Function Documentation

void CalcSurfaceInfo ( struct surface_s surf)

Calculate the bounding box of the surface.

Parameters
surfThe surface of which to calculate the bounding box.
node_t * SolidBSP ( struct surface_s surfhead,
qboolean  midsplit 
)

Partition the surfaces, creating a nice bsp.

Parameters
surfheadThe surfaces to partition.
midsplitIf true, use the volume balancing heuristic rather than the split balancing heuristic (false).

Variable Documentation

int c_empty
int c_solid
int c_water
int leaffaces
int nodefaces
int splitnodes
qboolean usemidsplit