Browse Source

mathlib: use tgmath in SinCos

pull/2/head
mittorn 5 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 ) @@ -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
}

Loading…
Cancel
Save