mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Fix lib Opcode to compile on WIN64.
This commit is contained in:
parent
d9fc3abaa4
commit
1bbc3d9e8a
2 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@
|
|||
//! Fast square root for floating-point values.
|
||||
inline_ float FastSqrt(float square)
|
||||
{
|
||||
#if defined( PLATFORM_WINDOWS )
|
||||
#if defined( PLATFORM_WINDOWS ) && !defined ( _WIN64 )
|
||||
float retval;
|
||||
|
||||
__asm {
|
||||
|
|
@ -188,7 +188,7 @@
|
|||
return x*x < epsilon;
|
||||
}
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#if defined( PLATFORM_WINDOWS ) && !defined ( _WIN64 )
|
||||
#define FCOMI_ST0 _asm _emit 0xdb _asm _emit 0xf0
|
||||
#define FCOMIP_ST0 _asm _emit 0xdf _asm _emit 0xf0
|
||||
#define FCMOVB_ST0 _asm _emit 0xda _asm _emit 0xc0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue