aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PerlinNoise.cpp
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-07 03:31:30 +0700
committerGitHub <noreply@github.com>2026-03-07 03:31:30 +0700
commit988e3042e00485aa7ed3725fe7bfde1da8cf8519 (patch)
treecf712d80b4d03eec73f935e0cce23020ddb6f5ef /Minecraft.World/PerlinNoise.cpp
parent175fc3824e502ecd701c1da2ecd2061d77495693 (diff)
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.World/PerlinNoise.cpp')
-rw-r--r--Minecraft.World/PerlinNoise.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/PerlinNoise.cpp b/Minecraft.World/PerlinNoise.cpp
index b4fd8004..b4c65e55 100644
--- a/Minecraft.World/PerlinNoise.cpp
+++ b/Minecraft.World/PerlinNoise.cpp
@@ -77,8 +77,8 @@ doubleArray PerlinNoise::getRegion(doubleArray buffer, int x, int y, int z, int
double xx = x * pow * xScale;
double yy = y * pow * yScale;
double zz = z * pow * zScale;
- __int64 xb = Mth::lfloor(xx);
- __int64 zb = Mth::lfloor(zz);
+ int64_t xb = Mth::lfloor(xx);
+ int64_t zb = Mth::lfloor(zz);
xx -= xb;
zz -= zb;
xb %= 16777216;