@@ -0,0 +1,8 @@
+#include "math/Math.h"
+
+#ifndef _GNU_SOURCE
+void sincosf(float a, float* s, float* c) {
+ *s = sinf(a);
+ *c = cosf(a);
+}
+#endif
@@ -8,10 +8,7 @@
#endif
#ifndef _GNU_SOURCE
-void sincosf(float a, float* s, float* c) {
- *s = sinf(a);
- *c = cosf(a);
-}
+void sincosf(float a, float* s, float* c);
@@ -2,6 +2,7 @@ project('gamingcore', 'cpp', default_options : ['default_library=static'])
src = [
'io/ImageReader.cpp',
+ 'math/Math.cpp',
'math/Frustum.cpp',
'math/Matrix.cpp',
'math/Plane.cpp',