diff options
author | David Turner <david@freetype.org> | 2001-12-11 13:49:55 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2001-12-11 13:49:55 +0000 |
commit | 09feefee1663ffc3395802b730c17912aa39a8f8 (patch) | |
tree | f5574d78c79f776e2846fa8c987d07f074914a60 /src/base | |
parent | dd27182038555f06844538c39cb700773dfe942f (diff) | |
download | freetype2-09feefee1663ffc3395802b730c17912aa39a8f8.tar.gz |
* src/base/fttrigon.c (FT_Cos): fixed a small bug that caused slightly
improper results for FT_Cos and FT_Sin (example: FT_Sin(0) == -1 !!)
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/fttrigon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/fttrigon.c b/src/base/fttrigon.c index cd198030f..4176d0cc8 100644 --- a/src/base/fttrigon.c +++ b/src/base/fttrigon.c @@ -292,7 +292,7 @@ v.y = 0; ft_trig_pseudo_rotate( &v, angle ); - return v.x >> 12; + return v.x/(1 << 12); } |