Mail Archives: djgpp/1998/11/29/14:33:18
From: | "DeHackEd" <notgiven AT out DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
References: | <73hodr$pa2$1 AT clam DOT niwa DOT cri DOT nz>
|
Subject: | Re: Help! rotation in Allegro.
|
Lines: | 32
|
X-Newsreader: | Microsoft Outlook Express 4.72.3110.5
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
Message-ID: | <iMH72.2068$Z72.488458@tundra.ops.attcanada.net>
|
Date: | Sat, 28 Nov 1998 00:49:18 GMT
|
NNTP-Posting-Host: | 142.194.222.130
|
NNTP-Posting-Date: | Sat, 28 Nov 1998 00:49:18 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Ex22.c is a 3d example, and those are coordinate codes, each line containing an
X, Y, and Z coordinate for the 8 corners needed to make a cube.
A better example would be ex21 near the end. Just make your way around the
comments and indentation.
--
"DeHackEd"
My Email address in the header is fake (spammers). Email me at this address:
http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked
Richard Pett wrote in message <73hodr$pa2$1 AT clam DOT niwa DOT cri DOT nz>...
>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 -