Message-ID: <00bc01bdb0bf$71046f00$4e4e08c3@arthur> Reply-To: "Arthur" From: "Arthur" To: "DJGPP Mailing List" Subject: Re: Allegro: do_line Interpolation Date: Thu, 16 Jul 1998 14:36:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Precedence: bulk >Using allegro's do_line() is VERY fast for interpolation (that is, >calculating all points in-between two given points). But it is limited >by the type int. Does anyone know of a fast interpolation routine which >accepts long (thereby allowing for fixed pt.)? I thought that DJGPP's int was 32-bit anyway. If you're looking for a fast line routine, do a web search for "Bresenham" (named afer the bloke who developed a very fast routine). I've got a pretty fast version, if you don't want to develop your own. Gust mail me. James Arthur jaa AT arfa DOT clara DOT net