C/C++
paterson.lst
Associated article: Circles and the Digital Differential Analyzer
Tags: C/C++
_CIRCLES AND THE DIGITAL DIFFERENTIAL ANALYZER_
by Tim Paterson
[LISTING ONE]
#include <graph.h>
#include <math.h>
int xbase, ybase;
unsigned xAspect, yAspect;
void SetAspect(double aspect)
{
xAspect = 0;
yAspect = 0;
aspect = fabs(aspect);
if (aspect != 1.0)
if (aspect &...


