We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e63673 commit 7cdf6bdCopy full SHA for 7cdf6bd
src/client/terrain/util/generator.rs
@@ -19,9 +19,9 @@ impl Generator {
19
return;
20
}
21
22
- for x in 0..=CHUNK_SIZE + 1 {
23
- for y in 0..=CHUNK_SIZE + 1 {
24
- for z in 0..=CHUNK_SIZE + 1 {
+ for x in 0..CHUNK_SIZE + 2 {
+ for y in 0..CHUNK_SIZE + 2 {
+ for z in 0..CHUNK_SIZE + 2 {
25
let local_position = Vec3::new(x as f32, y as f32, z as f32);
26
let block_position = chunk_origin + local_position;
27
let block = self.generate_block(block_position);
0 commit comments