Commit ac90c0e811205fe9fe9c62140981b37f59038822

David Turner 2002-07-01T21:35:17

* include/freetype/fttrigon.h, src/base/fttrigon.c: adding FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions

diff --git a/include/freetype/fttrigon.h b/include/freetype/fttrigon.h
index 07da694..2474206 100644
--- a/include/freetype/fttrigon.h
+++ b/include/freetype/fttrigon.h
@@ -189,9 +189,9 @@ FT_BEGIN_HEADER
   /* @return:                                                              */
   /*    contrainted value of 'value2-value1'                               */
   /*                                                                       */
-  FT_EXPORT_DEF( FT_Angle )
-  FT_Angle_Dif( FT_Angle  angle1,
-                FT_Angle  angle2 );
+  FT_EXPORT( FT_Angle )
+  FT_Angle_Diff( FT_Angle  angle1,
+                 FT_Angle  angle2 );
 
 
   /*************************************************************************/
diff --git a/src/base/fttrigon.c b/src/base/fttrigon.c
index 321c6ec..744f9a9 100644
--- a/src/base/fttrigon.c
+++ b/src/base/fttrigon.c
@@ -468,8 +468,8 @@
   /* documentation is in fttrigon.h */
 
   FT_EXPORT_DEF( FT_Angle )
-  FT_Angle_Dif( FT_Angle  angle1,
-                FT_Angle  angle2 )
+  FT_Angle_Diff( FT_Angle  angle1,
+                 FT_Angle  angle2 )
   {
     FT_Angle  delta = angle2 - angle1;