Fix mixed line endings

This commit is contained in:
Zheng, Lei
2022-04-26 21:45:10 +08:00
committed by Chris Hennes
parent be31116b61
commit 8bec44934b
66 changed files with 344 additions and 344 deletions

View File

@@ -145,7 +145,7 @@ bool BoundBox2d::Intersect(const Polygon2d &rclPoly) const
return true; /***** RETURN INTERSECTION *********/
// test intersections of bound-lines
if (rclPoly.GetCtVectors() < 3)
if (rclPoly.GetCtVectors() < 3)
return false;
for (i = 0; i < rclPoly.GetCtVectors(); i++)
{
@@ -289,7 +289,7 @@ static short _CalcTorsion (double *pfLine, double fX, double fY)
// Abort at line points within a quadrant
// Abort at non-intersecting line points
if (abs (sQuad[0] - sQuad[1]) <= 1)
if (abs (sQuad[0] - sQuad[1]) <= 1)
return 0;
// Both points to the left of ulX
@@ -319,7 +319,7 @@ bool Polygon2d::Contains (const Vector2d &rclV) const
short sTorsion = 0;
// Error check
if (GetCtVectors() < 3)
if (GetCtVectors() < 3)
return false;
// for all polygon lines