rust/integral-geometry/src/lib.rs
changeset 14107 6a3bcb7c2981
parent 14106 5c1ce63114a5
child 14108 36b792842d5b
--- a/rust/integral-geometry/src/lib.rs	Sat Nov 03 02:21:45 2018 +0300
+++ b/rust/integral-geometry/src/lib.rs	Sat Nov 03 02:31:21 2018 +0300
@@ -61,7 +61,7 @@
 
     #[inline]
     pub fn rotate90(self) -> Self {
-        Point::new(-self.y, self.x)
+        Point::new(self.y, -self.x)
     }
 }