Change scale
This commit is contained in:
parent
27d1ac08d2
commit
bc736c2ead
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ fn generate_city(
|
|||
|
||||
// gets into range -1 to +1
|
||||
let coord =
|
||||
1.0/layers as f32 * translation.mul_element_wise(
|
||||
1.0/5.0 as f32 * translation.mul_element_wise(
|
||||
Vector3::new(1.0 / length as f32, 1.0 / width as f32, 0.0),
|
||||
);
|
||||
|
||||
|
|
Reference in a new issue