diff --git a/nested/src/grid/mod.rs b/nested/src/grid/mod.rs index ec49777..87f722f 100644 --- a/nested/src/grid/mod.rs +++ b/nested/src/grid/mod.rs @@ -29,7 +29,7 @@ impl IndexArea> { pub fn range(&self) -> RangeInclusive> { match self { - IndexArea::Empty => Point2::new(1, 1)..=Point2::new(0, 0), + IndexArea::Empty => Point2::new(0, 0)..=Point2::new(-1, -1), IndexArea::Full => panic!("range from full grid area"), IndexArea::Set(v) => { Point2::new(