forked from FWGS/Paranoia2
mathlib: check for x86 architecture in SinCos
This commit is contained in:
parent
f930f46fb0
commit
2d035e9c5a
@ -193,7 +193,7 @@ SinCos
|
|||||||
*/
|
*/
|
||||||
void SinCos( float radians, float *sine, float *cosine )
|
void SinCos( float radians, float *sine, float *cosine )
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#if defined _MSC_VER && defined(__i386__)
|
||||||
_asm
|
_asm
|
||||||
{
|
{
|
||||||
fld dword ptr [radians]
|
fld dword ptr [radians]
|
||||||
|
Loading…
Reference in New Issue
Block a user