diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-28 23:41:24 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-28 23:41:24 +0100 |
commit | 02e793e5db3ea240432d43c3f9ab098516df1173 (patch) | |
tree | 1fc2f98790ba5b7cf70c75b4dd2c062e31d42f6f /src/gmisc/gmisc_matrix2d.c | |
parent | 5a99092b794373966e444296c57991631e712c70 (diff) | |
download | uGFX-02e793e5db3ea240432d43c3f9ab098516df1173.tar.gz uGFX-02e793e5db3ea240432d43c3f9ab098516df1173.tar.bz2 uGFX-02e793e5db3ea240432d43c3f9ab098516df1173.zip |
using GFX_PI internally to avoid issues with M_PI
Diffstat (limited to 'src/gmisc/gmisc_matrix2d.c')
-rw-r--r-- | src/gmisc/gmisc_matrix2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmisc/gmisc_matrix2d.c b/src/gmisc/gmisc_matrix2d.c index 2cd162f2..352afbe7 100644 --- a/src/gmisc/gmisc_matrix2d.c +++ b/src/gmisc/gmisc_matrix2d.c @@ -75,7 +75,7 @@ void gmiscMatrixFloat2DApplyRotation(MatrixFloat2D *dst, const MatrixFloat2D *sr s = fsin(angle); c = fcos(angle); #else - c = angle*M_PI/180; + c = angle*GFX_PI/180; s = sin(c); c = cos(c); #endif |