www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/16/09:42:17

Message-ID: <00bc01bdb0bf$71046f00$4e4e08c3@arthur>
Reply-To: "Arthur" <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
Subject: Re: Allegro: do_line Interpolation
Date: Thu, 16 Jul 1998 14:36:54 +0100
MIME-Version: 1.0

>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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019