From: "Sly" Newsgroups: comp.os.msdos.djgpp Subject: Re: Rotation problem Date: 6 Mar 1997 04:39:52 GMT Organization: Sly Lines: 18 Message-ID: <01bc29e8$f88be340$8a081ecb@sly> References: <01bc29e6$bc0e4540$8a081ecb AT sly> NNTP-Posting-Host: max0ppp08.bne.aussie.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Sad when you have to post a bug-fix for your own solution to someone's problem. hehehe > if (angle >= 360) > angle = 0; Should be... if (angle > 359) angle = 0; Because 360 degrees equals 0 degrees. Ooops. But the solution DOES work. Just tried it myself, and it is spinning away ..and away...and away...and oh I'm getting dizzy now. -- TTFN Sly (Steve)