BUG: cuttingPlane : normal comparison

This commit is contained in:
mattijs
2010-08-06 16:18:16 +01:00
parent d40df85591
commit 71c30256a4

View File

@ -313,7 +313,7 @@ void Foam::cuttingPlane::walkCellCuts
face f(faceVerts);
// Orient face to point in the same direction as the plane normal
if ((f.normal(cutPoints) && normal()) < 0)
if ((f.normal(cutPoints) & normal()) < 0)
{
f = f.reverseFace();
}