UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mBspNode_s Struct Reference

#include <r_model_brush.h>

Data Fields

int contents
 
AABB minmaxs
 
struct mBspNode_sparent
 
struct model_smodel
 
cBspPlane_tplane
 
struct mBspNode_schildren [2]
 
unsigned short firstsurface
 
unsigned short numsurfaces
 

Detailed Description

Note
The mBspLeaf_t type shares the same first variables - don't change the order

Definition at line 171 of file r_model_brush.h.

Field Documentation

int mBspNode_s::contents

-1, to differentiate from leafs

Definition at line 173 of file r_model_brush.h.

Referenced by R_ModLoadNodes(), R_RecurseWorld(), R_RecursiveSetModel(), R_RecursiveVisibleWorldNode(), R_RecursiveWorldNode(), and R_SetModel().

unsigned short mBspNode_s::firstsurface
AABB mBspNode_s::minmaxs

for bounding box culling

Definition at line 174 of file r_model_brush.h.

Referenced by R_ModLoadNodes(), and R_RecursiveWorldNode().

struct model_s* mBspNode_s::model

Definition at line 178 of file r_model_brush.h.

Referenced by R_SetModel().

unsigned short mBspNode_s::numsurfaces
struct mBspNode_s* mBspNode_s::parent

Definition at line 176 of file r_model_brush.h.

Referenced by R_ModLoadNodes().

cBspPlane_t* mBspNode_s::plane

The documentation for this struct was generated from the following file: