UFO: Alien Invasion
Loading...
Searching...
No Matches
mBspNode_t Struct Reference

#include <r_model_brush.h>

Collaboration diagram for mBspNode_t:
Collaboration graph

Data Fields

int contents
AABB minmaxs
struct mBspNode_s * parent
struct model_s * model
cBspPlane_tplane
struct mBspNode_s * children [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

◆ children

struct mBspNode_s* mBspNode_t::children[2]

◆ contents

int mBspNode_t::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().

◆ firstsurface

unsigned short mBspNode_t::firstsurface

◆ minmaxs

AABB mBspNode_t::minmaxs

for bounding box culling

Definition at line 174 of file r_model_brush.h.

Referenced by R_ModLoadNodes(), and R_RecursiveWorldNode().

◆ model

struct model_s* mBspNode_t::model

Definition at line 178 of file r_model_brush.h.

Referenced by R_SetModel().

◆ numsurfaces

unsigned short mBspNode_t::numsurfaces

◆ parent

struct mBspNode_s* mBspNode_t::parent

Definition at line 176 of file r_model_brush.h.

◆ plane

cBspPlane_t* mBspNode_t::plane

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