summaryrefslogtreecommitdiffstats
path: root/svgbob/src/buffer/fragment_buffer/fragment/polygon.rs
diff options
context:
space:
mode:
Diffstat (limited to 'svgbob/src/buffer/fragment_buffer/fragment/polygon.rs')
-rw-r--r--svgbob/src/buffer/fragment_buffer/fragment/polygon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgbob/src/buffer/fragment_buffer/fragment/polygon.rs b/svgbob/src/buffer/fragment_buffer/fragment/polygon.rs
index 46d751f..f61e53c 100644
--- a/svgbob/src/buffer/fragment_buffer/fragment/polygon.rs
+++ b/svgbob/src/buffer/fragment_buffer/fragment/polygon.rs
@@ -177,7 +177,7 @@ impl Bounds for Polygon {
fn bounds(&self) -> (Point, Point) {
let pl: Polyline<f32> = self.clone().into();
let aabb = pl.local_aabb();
- (Point::from(*aabb.mins()), Point::from(*aabb.maxs()))
+ (Point::from(*aabb.mins), Point::from(*aabb.maxs))
}
}