Fix typo
authorunc0rr
Sat, 03 Nov 2018 00:02:03 +0100
changeset 14124 8556937ae338
parent 14123 c6923ce139a2
child 14125 e2b6ff0421ec
Fix typo
rust/landgen/src/outline.rs
--- 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();