Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Feb 7, 2024
1 parent 61c8ee7 commit 931be03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shape/convex_polygon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl ConvexPolygon {
points.truncate(new_length);
normals.truncate(new_length);

if points.len() > 2 {
if points.len() > 2 {
Some(ConvexPolygon { points, normals })
} else {
None
Expand Down

0 comments on commit 931be03

Please sign in to comment.