ref: ac90c0e811205fe9fe9c62140981b37f59038822
parent: 3dff94f54ca5aeab40550d39233e0a8640f5d18a
author: David Turner <[email protected]>
date: Mon Jul 1 17:35:17 EDT 2002
* include/freetype/fttrigon.h, src/base/fttrigon.c: adding FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions
--- a/include/freetype/fttrigon.h
+++ b/include/freetype/fttrigon.h
@@ -189,9 +189,9 @@
/* @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 );
/*************************************************************************/
--- 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;