hackathon-dev #1
|
@ -34,12 +34,12 @@ static BOOL line_clip(PINT32 output, INT32 x1, INT32 y1, INT32 x2, INT32 y2, INT
|
|||
outcode2 = line_clip_outcode(x2, y2, xmin, ymin, xmax, ymax);
|
||||
if ((outcode1 & outcode2) != 0)
|
||||
{
|
||||
Log.debug("*REJECT*");
|
||||
Log(LDEBUG,"*REJECT*");
|
||||
return FALSE; /* trivial rejection */
|
||||
}
|
||||
else if ((outcode1 == 0) && (outcode2 == 0))
|
||||
{
|
||||
Log.debug("*ACCEPT*");
|
||||
Log(LDEBUG,"*ACCEPT*");
|
||||
break; /* trivial acceptance */
|
||||
}
|
||||
if (outcode1 == 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user