From: "Michael Stewart" Newsgroups: comp.os.msdos.djgpp Subject: Re: Polygon scan problem Date: Mon, 18 Jan 1999 21:29:46 -0000 Organization: Customer of Planet Online Lines: 13 Message-ID: <7809cl$iha$1@news6.svr.pol.co.uk> References: <77tsdv$6mk$1 AT news7 DOT svr DOT pol DOT co DOT uk> <36A38DCC DOT A93B9488 AT cartsys DOT com> <78065h$e3q$1 AT news5 DOT svr DOT pol DOT co DOT uk> NNTP-Posting-Host: modem-25.viramune.dialup.pol.co.uk X-Trace: news6.svr.pol.co.uk 916695253 18986 62.136.93.153 (18 Jan 1999 21:34:13 GMT) NNTP-Posting-Date: 18 Jan 1999 21:34:13 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I seem to have figured out a work around, but I still am unsure as to the problem If I replace the line xinc = (x2 - x) / (y2 - y); with these two fixed t = x2 - x; xinc = t / (y2 - y); it works fine... Go figure :-)