mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-02-04 17:50:27 +01:00
* 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
2 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue