From c8be38e75d0ea478a0b2a403ce49a5ddec2c73a8 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 8 Feb 2020 22:38:00 +0700 Subject: [PATCH] mathlib: use tgmath in SinCos --- public/mathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/mathlib.c b/public/mathlib.c index 6f6e2843..e60a3cd2 100644 --- a/public/mathlib.c +++ b/public/mathlib.c @@ -327,8 +327,8 @@ void SinCos( float radians, float *sine, float *cosine ) fstp dword ptr [eax] } #else - *sine = sinf(radians); - *cosine = cosf(radians); + *sine = sin(radians); + *cosine = cos(radians); #endif }