Improve meshs

This commit is contained in:
2026-03-13 18:03:32 -03:00
parent 5348cd3d06
commit 6cc38e3317
2 changed files with 18 additions and 1 deletions
+3
View File
@@ -82,6 +82,9 @@ function make_chunk_mesh(chunk: Chunk, dimension: Dimension, camera: Camera) {
const show_face = (x: number, y: number, z: number) => {
const block = dimension.get_block(x, y, z);
if (block === -1) {
return false;
}
if (block === 0) {
return true;
}