Skip to content

Commit

Permalink
Merge pull request #23 from karlvoskuil/master
Browse files Browse the repository at this point in the history
Declare AHFloat using type alias rather than macro.
  • Loading branch information
warrenm committed Nov 30, 2016
2 parents d59020f + 377c129 commit bf764c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AHEasing/easing.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
#endif

#ifdef AH_EASING_USE_DBL_PRECIS
#define AHFloat double
#define AH_FLOAT_TYPE double
#else
#define AHFloat float
#define AH_FLOAT_TYPE float
#endif
typedef AH_FLOAT_TYPE AHFloat;

#if defined __cplusplus
extern "C" {
Expand Down

0 comments on commit bf764c9

Please sign in to comment.