* 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:
parent
3dff94f54c
commit
ac90c0e811
@ -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 );
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user