Path: chuka.playstation.co.uk!news From: "Craig Graham" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Rotation property of sprites Date: 7 Apr 1998 22:25:31 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <01bd6274$ae0a9760$98d449c2@Angela1.intelligent-group.com> References: <352a3987.6501481@www.netyaroze-europe.com> <3529F85F.7EFC4AC3@micronetics.com> <352d67a9.2364597@www.netyaroze-europe.com> <352A755C.589EA5E7@codeworks.demon.co.uk> NNTP-Posting-Host: l152.mistral.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 Jim wrote in article <352A755C.589EA5E7@codeworks.demon.co.uk>... > David Wagner wrote: > > > > > One question though, I thought 4096 = 1 degree for the rotation > > property? > > > > If you're looking at GsSPRITE I think it lost something in the > translation, all the other functions use 4096 as a full circle, but its > never been really made that clear. The GsSPRITE rotation defines ONE as 4096, and stores it in a long. (360*4096 fits in a long). Rotation in 3D uses 4096 as 360deg instead, as the 3 axis rotation goes in an SVECTOR and 4096*360=1474560, which would overflow from a short.... > Jim Craig.