ref: f841ad3ec22404a868bd8648c45096fadf5abb9b
parent: a67c43e1c819ad1499af6052ddf2f85b6b25e069
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Nov 19 16:19:06 EST 2014
* src/base/fttrigon.c: Use dedicated `FT_Angle' for arctan table.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-19 Alexei Podtelezhnikov <[email protected]>
+
+ * src/base/fttrigon.c: Use dedicated `FT_Angle' for arctan table.
+
2014-11-19 Behdad Esfahbod <[email protected]>
Avoid compiler warnings on x86-64 for `FT_MulFix'.
--- a/src/base/fttrigon.c
+++ b/src/base/fttrigon.c
@@ -4,7 +4,7 @@
/* */
/* FreeType trigonometric functions (body). */
/* */
-/* Copyright 2001-2005, 2012-2013 by */
+/* Copyright 2001-2005, 2012-2014 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -45,7 +45,7 @@
/* this table was generated for FT_PI = 180L << 16, i.e. degrees */
#define FT_TRIG_MAX_ITERS 23
- static const FT_Fixed
+ static const FT_Angle
ft_trig_arctan_table[] =
{
1740967L, 919879L, 466945L, 234379L, 117304L, 58666L, 29335L,
@@ -165,7 +165,7 @@
{
FT_Int i;
FT_Fixed x, y, xtemp, b;
- const FT_Fixed *arctanptr;
+ const FT_Angle *arctanptr;
x = vec->x;
@@ -220,7 +220,7 @@
FT_Angle theta;
FT_Int i;
FT_Fixed x, y, xtemp, b;
- const FT_Fixed *arctanptr;
+ const FT_Angle *arctanptr;
x = vec->x;