Tiny tiny cleanup

This commit is contained in:
Marek Roszko 2021-01-31 19:09:28 -05:00
parent 31fd49d444
commit b17ba9d632
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ bool FindLineSegmentIntersection( double a, double b, int xi, int yi, int xf, in
{
x1 = a;
y1 = c + d * a;
return 1;
return true;
}
else
{
@ -95,7 +95,7 @@ bool FindLineSegmentIntersection( double a, double b, int xi, int yi, int xf, in
yy = a + b * xx;
if( (yy>=yi && yy>yf) || (yy<=yi && yy<yf) )
return 0;
return false;
}
x1 = xx;