Browse Source

mathlib: use tgmath in SinCos

pull/2/head
mittorn 4 years ago
parent
commit
c8be38e75d
  1. 4
      public/mathlib.c

4
public/mathlib.c

@ -327,8 +327,8 @@ void SinCos( float radians, float *sine, float *cosine )
fstp dword ptr [eax] fstp dword ptr [eax]
} }
#else #else
*sine = sinf(radians); *sine = sin(radians);
*cosine = cosf(radians); *cosine = cos(radians);
#endif #endif
} }

Loading…
Cancel
Save