TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ADAM MAJER
from: KURT KUZBA
date: 1997-12-27 13:05:00
subject: Rotating Bitmaps

AM>   I've developed a utility to rotate bitmaps but it's very,
AM>   very slow. I'm using sine and cosine and stuff, but I'm
AM>   looking for a faster and better ways of rotating stuff.
AM>   Could anyone post some code that rotates bitmaps?
AM>   PS My procedure gives me 7 frames per second on 486 using
AM>   32x32 bitmaps. :-(
   That doesn't seem right.
   Are you rotating your bitmaps in allocated memory or in
   video RAM? You might look into creating a table of sin and
   cos values, also, to speed things up a bit.
   I've never done any of this myself, but it seems it should be
   faster. Could you post an example to play with perhaps?
> ] I don't know if I'm lighting candles or dancing.............
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)

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™.