Fix -Z chunk face

This commit is contained in:
2026-01-07 13:54:53 +01:00
parent 4a83333116
commit 0d171fb892

View File

@@ -246,10 +246,10 @@ fn getMatrix(comptime side: voxels.Orientation, origin: vm.Vector3) vm.Matrix4x4
origin.x, origin.y, origin.z + 1, 1,
),
.negative_z => .init(
-1, 0, 0, 0,
0, -1, 0, 0,
0, 0, 1, 0,
origin.x + 1, origin.y + 1, origin.z, 1,
1, 0, 0, 0,
0, -1, 0, 0,
0, 0, -1, 0,
origin.x, origin.y + 1, origin.z, 1,
),
// zig fmt: on
};