mirror of
https://github.com/eliasstepanik/voxel-simulation.git
synced 2026-01-11 13:58:30 +00:00
Fix mesh_chunk braces
This commit is contained in:
parent
1b4f070015
commit
440fd4a717
@ -419,7 +419,6 @@ pub(crate) fn mesh_chunk(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Greedy merge the mask into maximal rectangles.
|
// Greedy merge the mask into maximal rectangles.
|
||||||
for u0 in 0..N {
|
for u0 in 0..N {
|
||||||
@ -428,8 +427,6 @@ pub(crate) fn mesh_chunk(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let Some(tex_id) = mask[idx(u0, v0)] else { continue };
|
let Some(tex_id) = mask[idx(u0, v0)] else { continue };
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Determine the rectangle width.
|
// Determine the rectangle width.
|
||||||
let mut width = 1;
|
let mut width = 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user