From 5e5f6cebf3a83c72f711599a9486dd6a2af68636 Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 1 Jul 2002 21:35:17 +0000 Subject: [PATCH] * include/freetype/fttrigon.h, src/base/fttrigon.c: adding FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions --- include/freetype/fttrigon.h | 6 +++--- src/base/fttrigon.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/freetype/fttrigon.h b/include/freetype/fttrigon.h index 07da694d5..247420606 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 321c6ec0d..744f9a9b5 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;