nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: Fonts + rotation
From: Greg Haerr
Date: Thu, 13 Jan 2000 20:44:18 -0700

: Thanks for the idea, a good starting point ... But I don't like the computing
: intensive sin/cos/math stuff (SA-1100 doesn't have an FPU ...)
: 
: Anyway, I'll keep digging the freetype library for solutions ...

You can use precomputed integer values for, say, 24 rotations
around the circle (every 15 degrees) and not use floating
point.  Actually, now that I think about it, you can cut that
to 1/4 that number if you want to compute the sign of sin/cos...

Greg



nanogui@linuxhacker.org