--- a/rust/landgen/src/outline_template_based/template_based.rs Mon Sep 16 16:57:11 2024 +0200
+++ b/rust/landgen/src/outline_template_based/template_based.rs Wed Sep 18 13:42:26 2024 +0200
@@ -54,7 +54,9 @@
}
if !parameters.skip_distort {
- points.distort(parameters.distance_divisor, random_numbers);
+ let distortion_limiting_factor = 100 + random_numbers.next().unwrap() % 8 * 10;
+
+ points.distort(parameters.distance_divisor, distortion_limiting_factor, random_numbers);
}
if !parameters.skip_bezier {