rust/landgen/src/outline_template_based/outline.rs
branchtransitional_engine
changeset 16058 9cbd18220eb7
parent 16057 509ecce37522
child 16061 31cc1e450273
--- a/rust/landgen/src/outline_template_based/outline.rs	Tue Sep 03 11:16:52 2024 +0200
+++ b/rust/landgen/src/outline_template_based/outline.rs	Tue Sep 03 13:56:35 2024 +0200
@@ -254,8 +254,12 @@
             let mut i = 0;
             while i < self.islands[is].edges_count() {
                 let segment = self.islands[is].get_edge(i);
-                if let Some(new_point) = self.divide_edge(segment, distance_divisor, distance_limiting_factor, random_numbers)
-                {
+                if let Some(new_point) = self.divide_edge(
+                    segment,
+                    distance_divisor,
+                    distance_limiting_factor,
+                    random_numbers,
+                ) {
                     self.islands[is].split_edge(i, new_point);
                     i += 2;
                 } else {