dBspNode_t Struct Reference

#include <typedefs.h>

Data Fields

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

Detailed Description

Definition at line 255 of file typedefs.h.


Field Documentation

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

Definition at line 257 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 260 of file typedefs.h.

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

short dBspNode_t::maxs[3]

for frustum culling

Definition at line 259 of file typedefs.h.

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

short dBspNode_t::mins[3]

for frustum culling

Definition at line 258 of file typedefs.h.

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

unsigned short dBspNode_t::numfaces

counting both sides

Definition at line 261 of file typedefs.h.

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

index into the planes array

Definition at line 256 of file typedefs.h.

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


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

Generated by  doxygen 1.6.2