This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Rotation/Scaling Fixed Point Math?


Rotation/Scaling Fixed Point Math?

Postby DillRye » Mar 21, 2003 @ 11:48pm

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby efortier » Mar 22, 2003 @ 7:00am

Here is a little contribution. This is my FixedPoint class which I currently use.

Most operators have been tried by hand, and the class works very well. The precision is indeed limited as it uses 16.16.

If anyone uses this, the only thing I ask is that I any optimization, fixed or changes are sent back to me (pretty please ;)

http://www.techlogic.ca/aw/fixed.zip

The zip file was tested and works correctly.

Let me know how it works.

--Eric
efortier@techlogic.ca
User avatar
efortier
pm Insider
 
Posts: 373
Joined: May 15, 2002 @ 10:32pm


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum