rust/landgen/src/outline.rs
changeset 14128 6a3bcb7c2981
parent 14127 5c1ce63114a5
child 14129 36b792842d5b
--- a/rust/landgen/src/outline.rs	Sat Nov 03 02:21:45 2018 +0300
+++ b/rust/landgen/src/outline.rs	Sat Nov 03 02:31:21 2018 +0300
@@ -105,7 +105,7 @@
         // new point should fall inside this box
         let map_box = self.play_box.with_margin(min_distance);
 
-        let p = -segment.scaled_normal();
+        let p = segment.scaled_normal();
         let mid_point = segment.center();
 
         if (p.integral_norm() < min_distance as u32 * 3) || !map_box.contains_inside(mid_point) {