typo in visibility plugins
This commit is contained in:
parent
2fcdf6fa21
commit
f1b255e69f
@ -572,7 +572,7 @@ CVisibilityPlugins::GetDotProductWithCameraVector(RwMatrix *atomicMat, RwMatrix
|
|||||||
if(flags & (ATOMIC_FLAG_FRONT | ATOMIC_FLAG_REAR))
|
if(flags & (ATOMIC_FLAG_FRONT | ATOMIC_FLAG_REAR))
|
||||||
dot = RwV3dDotProduct(&dist, RwMatrixGetUp(clumpMat));
|
dot = RwV3dDotProduct(&dist, RwMatrixGetUp(clumpMat));
|
||||||
// left/right facing
|
// 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));
|
dot = RwV3dDotProduct(&dist, RwMatrixGetRight(clumpMat));
|
||||||
else
|
else
|
||||||
dot = 0.0f;
|
dot = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user