Merge branch 'main' into fix-gc-trigger

This commit is contained in:
MihailRis 2026-07-19 22:23:58 +03:00
commit 5ad6d3ded3

View file

@ -309,7 +309,9 @@ static inline voxel* raycast_blocks(
} else {
iend = {ix, iy, iz};
norm = {0, 0, 0};
norm[steppedIndex] = -step[steppedIndex];
if (steppedIndex != -1) {
norm[steppedIndex] = -step[steppedIndex];
}
return voxel;
}
}