diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-08-29 18:22:25 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-08-30 11:40:30 +0200 |
commit | 3e549a7d4484340d8d71500a7e61f81f403f48cc (patch) | |
tree | 3506aaab712cf59e5a0e687090ac7ebedd866c6b /src/render/Occlusion.h | |
parent | update librw (diff) | |
download | re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.gz re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.bz2 re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.lz re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.xz re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.zst re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Occlusion.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Occlusion.h b/src/render/Occlusion.h index 9a415f88..8a444525 100644 --- a/src/render/Occlusion.h +++ b/src/render/Occlusion.h @@ -49,10 +49,14 @@ public: static bool OccluderHidesBehind(CActiveOccluder *occl1, CActiveOccluder *occl2); static bool IsAABoxOccluded(CVector pos, float width, float length, float height); static bool IsPositionOccluded(CVector pos, float side); +#ifndef MASTER static void Render(); +#endif }; bool CalcScreenCoors(CVector const &in, CVector *out, float *outw, float *outh); bool CalcScreenCoors(CVector const &in, CVector *out); +#ifndef MASTER extern bool bDisplayOccDebugStuff; +#endif
\ No newline at end of file |