diff options
| author | xolatile | 2025-07-21 12:26:47 +0200 |
|---|---|---|
| committer | xolatile | 2025-07-21 12:26:47 +0200 |
| commit | d085675aaa6ea427fa6417745387ebc9d2e77afc (patch) | |
| tree | d83eec12bf37bfabaa00635c052986fbaff99631 /src/engine/engine.h | |
| parent | 38b075752c7a5770b62b247dceb4e06ea404fb5f (diff) | |
| download | xolatile-badassbug-d085675aaa6ea427fa6417745387ebc9d2e77afc.tar.xz xolatile-badassbug-d085675aaa6ea427fa6417745387ebc9d2e77afc.tar.zst | |
Removed PVS code because it will never be used...
Diffstat (limited to 'src/engine/engine.h')
| -rw-r--r-- | src/engine/engine.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/engine/engine.h b/src/engine/engine.h index 9ceadca..dc0b240 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -110,21 +110,6 @@ extern void popshadowmap(); extern void rendershadowmapreceivers(); extern void guessshadowdir(); -// pvs -extern void clearpvs(); -extern bool pvsoccluded(const ivec &bbmin, const ivec &bbmax); -extern bool pvsoccludedsphere(const vec ¢er, float radius); -extern bool waterpvsoccluded(int height); -extern void setviewcell(const vec &p); -extern void savepvs(stream *f); -extern void loadpvs(stream *f, int numpvs); -extern int getnumviewcells(); - -static inline bool pvsoccluded(const ivec &bborigin, int size) -{ - return pvsoccluded(bborigin, ivec(bborigin).add(size)); -} - // rendergl extern bool hasVAO, hasFBO, hasAFBO, hasDS, hasTF, hasTRG, hasTSW, hasS3TC, hasFXT1, hasLATC, hasRGTC, hasAF, hasFBB, hasUBO, hasMBR; extern int glversion, glslversion, glcompat; |
