- changed VM_EPSILON from 1/1024 to 1/65536 so that the ~== operator can actually be used.

1/1024 is far too coarse for ZDoom's purposes, this needs to be at least fixed point precision.
This commit is contained in:
Christoph Oelckers 2016-10-22 02:52:28 +02:00
parent 4b41e735f1
commit 1e11042de0

View file

@ -17,7 +17,7 @@ typedef unsigned int VM_UWORD;
typedef signed int VM_SWORD; typedef signed int VM_SWORD;
typedef VM_UBYTE VM_ATAG; typedef VM_UBYTE VM_ATAG;
#define VM_EPSILON (1/1024.0) #define VM_EPSILON (1/65536.0)
union VMOP union VMOP
{ {