diff options
author | aap <aap@papnet.eu> | 2019-06-20 00:36:11 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-20 00:36:11 +0200 |
commit | f1b255e69f11794969d184917167cb63cadf6132 (patch) | |
tree | 17a231d69474b42591d26c1cdb5a0b42be9bcfaa /src | |
parent | implemented cHandlingDataMgr (diff) | |
download | re3-f1b255e69f11794969d184917167cb63cadf6132.tar re3-f1b255e69f11794969d184917167cb63cadf6132.tar.gz re3-f1b255e69f11794969d184917167cb63cadf6132.tar.bz2 re3-f1b255e69f11794969d184917167cb63cadf6132.tar.lz re3-f1b255e69f11794969d184917167cb63cadf6132.tar.xz re3-f1b255e69f11794969d184917167cb63cadf6132.tar.zst re3-f1b255e69f11794969d184917167cb63cadf6132.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/render/VisibilityPlugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/VisibilityPlugins.cpp b/src/render/VisibilityPlugins.cpp index 316a397c..ca3a0195 100644 --- a/src/render/VisibilityPlugins.cpp +++ b/src/render/VisibilityPlugins.cpp @@ -572,7 +572,7 @@ CVisibilityPlugins::GetDotProductWithCameraVector(RwMatrix *atomicMat, RwMatrix if(flags & (ATOMIC_FLAG_FRONT | ATOMIC_FLAG_REAR)) dot = RwV3dDotProduct(&dist, RwMatrixGetUp(clumpMat)); // left/right facing - else if(flags & (ATOMIC_FLAG_LEFT & ATOMIC_FLAG_RIGHT)) + else if(flags & (ATOMIC_FLAG_LEFT | ATOMIC_FLAG_RIGHT)) dot = RwV3dDotProduct(&dist, RwMatrixGetRight(clumpMat)); else dot = 0.0f; |