Tiny tiny cleanup
This commit is contained in:
parent
31fd49d444
commit
b17ba9d632
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue