From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro sprite rotation wierdness Date: Sat, 25 Jan 1997 15:49:30 +0000 Organization: None Distribution: world Message-ID: References: <5c6mh9$2c2k AT elmo DOT cadvision DOT com> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > You are right - its a bug/feature that results from the rotation > algorithm I'm using. Update: I just spent half an hour playing with the code, and I've managed to fix this problem. My solution requires two extra inverse tangent calculations, but they don't seem to slow it down by any measurable amount. This patch will be in Allegro 2.2, or I can email it to anyone who's currently having problems with the rotation clipping... /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'. */