From 02e793e5db3ea240432d43c3f9ab098516df1173 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 28 Nov 2015 23:41:24 +0100 Subject: using GFX_PI internally to avoid issues with M_PI --- src/gmisc/gmisc_matrix2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gmisc/gmisc_matrix2d.c') 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 -- cgit v1.2.3