mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 19:12:51 +00:00
Merge branch 'master' of https://github.com/AnAkIn1/source-sdk-2013
This commit is contained in:
commit
38eeec596f
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <inetmsghandler.h>
|
||||
#include "tier0/platform.h"
|
||||
#include "userid.h"
|
||||
|
||||
class IServer;
|
||||
class INetMessage;
|
||||
|
|
|
@ -453,7 +453,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
|||
*sine = sin( radians );
|
||||
*cosine = cos( radians );
|
||||
#elif defined( POSIX )
|
||||
double __cosr, __sinr;
|
||||
register double __cosr, __sinr;
|
||||
__asm ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||
|
||||
*sine = __sinr;
|
||||
|
|
Loading…
Reference in a new issue