Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
pvs.hpp File Reference
#include "inexor/shared/geom.hpp"

Go to the source code of this file.

Functions

void clearpvs ()
 
bool pvsoccluded (const ivec &bbmin, const ivec &bbmax)
 
bool pvsoccludedsphere (const vec &center, float radius)
 
bool waterpvsoccluded (int height)
 
void setviewcell (const vec &p)
 
void savepvs (stream *f)
 
void loadpvs (stream *f, int numpvs)
 
int getnumviewcells ()
 
static bool pvsoccluded (const ivec &bborigin, int size)
 

Function Documentation

void clearpvs ( )
int getnumviewcells ( )

References pvs.

Referenced by gl_drawhud(), and save_world().

void loadpvs ( stream f,
int  numpvs 
)
bool pvsoccluded ( const ivec bbmin,
const ivec bbmax 
)

References curpvs, and pvsoccluded().

Referenced by pvsoccluded().

static bool pvsoccluded ( const ivec bborigin,
int  size 
)
inlinestatic

References pvsoccluded().

bool pvsoccludedsphere ( const vec center,
float  radius 
)

References curpvs, and pvsoccluded().

Referenced by finddynlights().

void savepvs ( stream f)
void setviewcell ( const vec p)
bool waterpvsoccluded ( int  height)