| delorie.com/archives/browse.cgi | search |
| From: | "Sly" <sly AT aussie DOT net> |
| 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: | <Pine DOT GSO DOT 3 DOT 95 DOT 970305131547 DOT 2365A-100000 AT explorer2 DOT clark DOT net> <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)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |