* include/freetype/fttrigon.h, src/base/fttrigon.c: adding

FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions
This commit is contained in:
David Turner 2002-07-01 21:35:17 +00:00
parent 3dff94f54c
commit ac90c0e811
2 changed files with 5 additions and 5 deletions

View File

@ -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 );
/*************************************************************************/

View File

@ -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;