diff options
author | aap <aap@papnet.eu> | 2021-02-28 19:07:32 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:32:43 +0200 |
commit | c58d98a39ea3fa5e1f515fbac96eb58350a6de3e (patch) | |
tree | 2f62df6b06c64af88786e6f2329a1f6d0adb613c /src/render/Renderer.h | |
parent | fix postfx fix (diff) | |
download | re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.gz re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.bz2 re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.lz re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.xz re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.zst re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/Renderer.h b/src/render/Renderer.h index 35b43a0b..0322939c 100644 --- a/src/render/Renderer.h +++ b/src/render/Renderer.h @@ -10,6 +10,14 @@ class CEntity; #define FADE_DISTANCE 20.0f #define STREAM_DISTANCE 30.0f +#ifdef EXTRA_MODEL_FLAGS +#define BACKFACE_CULLING_ON SetCullMode(rwCULLMODECULLBACK) +#define BACKFACE_CULLING_OFF SetCullMode(rwCULLMODECULLNONE) +#else +#define BACKFACE_CULLING_ON +#define BACKFACE_CULLING_OFF +#endif + extern bool gbShowPedRoadGroups; extern bool gbShowCarRoadGroups; extern bool gbShowCollisionPolys; |