Prepared for buildings spawning
This commit is contained in:
@@ -314,7 +314,7 @@ void RoadGrid::build(Ref<Curve> curve, Ref<FastNoiseLite> noise)
|
||||
if (min_height > y)
|
||||
min_height = y;
|
||||
}
|
||||
map_sites.write[i].avg_height = min_height * 0.4f + max_height * 0.6f;
|
||||
map_sites.write[i].avg_height = min_height * 0.7f + max_height * 0.3f;
|
||||
}
|
||||
generate_building_positions();
|
||||
printf("building 3rd dimention done\n");
|
||||
|
||||
Reference in New Issue
Block a user