diff options
| author | void_17 <61356189+void2012@users.noreply.github.com> | 2026-03-07 03:31:30 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 03:31:30 +0700 |
| commit | 988e3042e00485aa7ed3725fe7bfde1da8cf8519 (patch) | |
| tree | cf712d80b4d03eec73f935e0cce23020ddb6f5ef /Minecraft.World/Mth.h | |
| parent | 175fc3824e502ecd701c1da2ecd2061d77495693 (diff) | |
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.World/Mth.h')
| -rw-r--r-- | Minecraft.World/Mth.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Minecraft.World/Mth.h b/Minecraft.World/Mth.h index 4ce90893..59c9e037 100644 --- a/Minecraft.World/Mth.h +++ b/Minecraft.World/Mth.h @@ -10,10 +10,10 @@ public: static const float RADDEG; static const float RAD_TO_GRAD; - static const __int64 UUID_VERSION = 0x000000000000f000L; - static const __int64 UUID_VERSION_TYPE_4 = 0x0000000000004000L; - static const __int64 UUID_VARIANT = 0xc000000000000000L; - static const __int64 UUID_VARIANT_2 = 0x8000000000000000L; + static const int64_t UUID_VERSION = 0x000000000000f000L; + static const int64_t UUID_VERSION_TYPE_4 = 0x0000000000004000L; + static const int64_t UUID_VARIANT = 0xc000000000000000L; + static const int64_t UUID_VARIANT_2 = 0x8000000000000000L; private: static float *_sin; private: @@ -25,7 +25,7 @@ public : static float sqrt(float x); static float sqrt(double x); static int floor(float v); - static __int64 lfloor(double v); + static int64_t lfloor(double v); static int fastFloor(double x); static int floor(double v); static int absFloor(double v); |
