1 parent
f86f8e8ed8
commit
c754d6fdfb
15 files changed
+91
-108
No files matched your search
@@ -356,12 +356,9 @@ void *VM_ExplicitArgPtr( vm_t *vm, intptr_t intValue );
|
||||
#define VMA(x) VM_ArgPtr(args[x])
|
||||
static ID_INLINE float _vmf(intptr_t x)
|
||||
{
|
||||
union {
|
||||
int i;
|
||||
float f;
|
||||
} t;
|
||||
t.i = (int)x;
|
||||
return t.f;
|
||||
floatint_t fi;
|
||||
fi.i = (int) x;
|
||||
return fi.f;
|
||||
}
|
||||
#define VMF(x) _vmf(args[x])
|
||||
|
||||
|
||||
Reference in new issue
Block a user