--- 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)
}
}