Mail Archives: djgpp/1998/11/25/16:05:08
From: | "Richard Pett" <rpett AT sparky DOT niwa DOT cri DOT nz>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Help! rotation in Allegro.
|
Date: | Thu, 26 Nov 1998 09:10:42 +1300
|
Organization: | National Insitute of Water and Atmosphere (http://www.niwa.cri.nz)
|
Lines: | 16
|
Message-ID: | <73hodr$pa2$1@clam.niwa.cri.nz>
|
NNTP-Posting-Host: | 161.65.68.240
|
X-Trace: | clam.niwa.cri.nz 912024827 25922 161.65.68.240 (25 Nov 1998 20:13:47 GMT)
|
X-Complaints-To: | postmaster AT niwa DOT cri DOT nz
|
NNTP-Posting-Date: | 25 Nov 1998 20:13:47 GMT
|
X-Newsreader: | Microsoft Outlook Express 4.72.2106.4
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.2106.4
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I need help. Can someone please explain to me the 256 degrees rotation
system used in Allegro, and how to use it. small example would be nice :-)
Also, I was looking through the example programs that came with Allegro, and
one of the examples, I think it was ex22.c (the bouncing cubes one anyway)
had a line in it that went something along the lines of...
...= { 16 << -32, 16 << 32, 16 << -32,
etc....
I don't know if I quoted the exact code very well (sorry brought the wrong
file to work with me - so I'm guessing). I am unsure about what this does,
I'm assuming that it's a bitwise operation of some sort but I'm not really
sure. sigh!
- Raw text -