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

#include <typedefs.h>

Data Fields

int32_t planenum
 
int32_t children [2]
 
short mins [3]
 
short maxs [3]
 
unsigned short firstface
 
unsigned short numfaces
 

Detailed Description

Definition at line 378 of file typedefs.h.

Field Documentation

int32_t dBspNode_t::children[2]

negative numbers are -(leafs + 1), not nodes

Definition at line 380 of file typedefs.h.

Referenced by BuildNodeChildren(), CMod_LoadNodes(), EmitDrawNode_r(), and SwapBSPFile().

unsigned short dBspNode_t::firstface

index into the faces array

Definition at line 383 of file typedefs.h.

Referenced by BuildNodeChildren(), EmitDrawNode_r(), and SwapBSPFile().

short dBspNode_t::maxs[3]

for frustum culling

Definition at line 382 of file typedefs.h.

Referenced by BuildNodeChildren(), CMod_LoadNodes(), EmitDrawNode_r(), and SwapBSPFile().

short dBspNode_t::mins[3]

for frustum culling

Definition at line 381 of file typedefs.h.

Referenced by BuildNodeChildren(), CMod_LoadNodes(), EmitDrawNode_r(), and SwapBSPFile().

unsigned short dBspNode_t::numfaces

counting both sides

Definition at line 384 of file typedefs.h.

Referenced by BuildNodeChildren(), EmitDrawNode_r(), and SwapBSPFile().

int32_t dBspNode_t::planenum

index into the planes array

Definition at line 379 of file typedefs.h.

Referenced by BuildNodeChildren(), CMod_LoadNodes(), EmitDrawNode_r(), and SwapBSPFile().


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