# HG changeset patch # User alfadur # Date 1541220754 -10800 # Node ID f04bc39f0c05d1d6cb542d126f08f95faba159b9 # Parent 269f13ac670d0d8a09611b496a8b32eefa9c489d reorder split rectangles diff -r 269f13ac670d -r f04bc39f0c05 rust/integral-geometry/src/lib.rs --- a/rust/integral-geometry/src/lib.rs Sat Nov 03 07:31:35 2018 +0300 +++ b/rust/integral-geometry/src/lib.rs Sat Nov 03 07:52:34 2018 +0300 @@ -354,8 +354,8 @@ [ Rect::from_box(self.left(), point.x, self.top(), point.y), Rect::from_box(point.x, self.right(), self.top(), point.y), - Rect::from_box(self.left(), point.x, point.y, self.bottom()), - Rect::from_box(point.x, self.right(), point.y, self.bottom()) + Rect::from_box(point.x, self.right(), point.y, self.bottom()), + Rect::from_box(self.left(), point.x, point.y, self.bottom()) ] } }