texture mapping
This commit is contained in:
@@ -29,7 +29,7 @@ pub fn generate_chunk(chunk_x: f64, chunk_z: f64, cfg: &GenerationConfig, seed:
|
||||
&cfg,
|
||||
&noise,
|
||||
);
|
||||
result[x + z * Chunk::SIZE] = sample;
|
||||
result[x + z * Chunk::SIZE] = sample.floor();
|
||||
}
|
||||
}
|
||||
return Chunk {
|
||||
|
||||
Reference in New Issue
Block a user