From: jfvschra AT eduserv1 DOT rug DOT ac DOT be (Johan Verschraegen) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro program won't work Date: 10 Apr 1999 19:40:58 GMT Organization: University of Ghent, Belgium Lines: 8 Message-ID: <7eo9ga$mem$1@inf6serv.rug.ac.be> References: <370f9a10 DOT 1781433 AT news DOT freeserve DOT co DOT uk> NNTP-Posting-Host: eduserv1.rug.ac.be X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com : > screenx1=160.0+256.0*( x[i] / z); // This algorithm : > screeny1=100.0+256.0*( y[i] / z); // calculate where If you zoom in to close you divide by zero. Maybe that's your problem. johan