* 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 !!)
This commit is contained in:
parent
dd27182038
commit
09feefee16
@ -12,6 +12,9 @@
|
||||
* INSTALL: updated the instructions to build shared libraries with
|
||||
Jam.. they were simply erroneous..
|
||||
|
||||
* 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 !!)
|
||||
|
||||
|
||||
2001-12-11 Detlef Würkner >TetiSoft@apg.lahn.de>
|
||||
|
||||
|
@ -292,7 +292,7 @@
|
||||
v.y = 0;
|
||||
ft_trig_pseudo_rotate( &v, angle );
|
||||
|
||||
return v.x >> 12;
|
||||
return v.x/(1 << 12);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user