diff options
Diffstat (limited to 'src/2geom/rect.h')
| -rw-r--r-- | src/2geom/rect.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/2geom/rect.h b/src/2geom/rect.h index f0811baf6..6a6d979a4 100644 --- a/src/2geom/rect.h +++ b/src/2geom/rect.h @@ -77,10 +77,10 @@ class D2<Interval> { * (clockwise if +Y is up, anticlockwise if +Y is down) */ Point corner(unsigned i) const { switch(i % 4) { - case 0: return Point(f[X].min(), f[Y].min()); - case 1: return Point(f[X].max(), f[Y].min()); - case 2: return Point(f[X].max(), f[Y].max()); - case 3: return Point(f[X].min(), f[Y].max()); + case 0: return Point(f[X].min(), f[Y].min()); + case 1: return Point(f[X].max(), f[Y].min()); + case 2: return Point(f[X].max(), f[Y].max()); + default: return Point(f[X].min(), f[Y].max()); } } |
