TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ADAM MAJER
from: CAMERON CLARK
date: 1997-12-25 23:29:00
subject: Re: Rotating Bitmaps

AM> I've developed a utility to rotate bitmaps but it's very, very slow. I'm
AM> using sine and cosine and stuff, but I'm looking for a faster and better
AM> ways of rotating stuff. Could anyone post some code that rotates
AM> bitmaps?
AM> 
AM> PS My procedure gives me 7 frames per second on 486 using 32x32 bitmaps.
    Do you use lookup tables for sin/cosine, or do you calculate it
    every time?
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.