mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-09 12:16:24 -04:00
Fix formatting
This commit is contained in:
parent
62f6c5a106
commit
59fdd1321e
@ -304,7 +304,7 @@ const GenerationStructure = struct {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn addSubBiomesOf(biome: BiomePoint, map: *ClimateMapFragment, extraBiomes: *main.List(BiomePoint), wx: i32, wy: i32, width: u31, height: u31, worldSeed: u64, comptime radius: enum{known, unknown}) void {
|
fn addSubBiomesOf(biome: BiomePoint, map: *ClimateMapFragment, extraBiomes: *main.List(BiomePoint), wx: i32, wy: i32, width: u31, height: u31, worldSeed: u64, comptime radius: enum {known, unknown}) void {
|
||||||
var seed = random.initSeed2D(worldSeed, @bitCast(biome.pos));
|
var seed = random.initSeed2D(worldSeed, @bitCast(biome.pos));
|
||||||
var biomeCount: f32 = undefined;
|
var biomeCount: f32 = undefined;
|
||||||
if(biome.biome.subBiomeTotalChance > biome.biome.maxSubBiomeCount) {
|
if(biome.biome.subBiomeTotalChance > biome.biome.maxSubBiomeCount) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user