rust/landgen/src/outline.rs
changeset 14108 8556937ae338
parent 14105 4d22be35cfa2
child 14109 e2b6ff0421ec
--- a/rust/landgen/src/outline.rs	Sat Nov 03 01:52:05 2018 +0300
+++ b/rust/landgen/src/outline.rs	Sat Nov 03 00:02:03 2018 +0100
@@ -107,7 +107,7 @@
 
         let p = Point::new(
             segment.end.y - segment.start.y,
-            segment.start.x - segment.start.y,
+            segment.start.x - segment.end.x,
         );
         let mid_point = segment.center();