Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Jul 27, 2023
1 parent c988f91 commit 2d52c8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,10 @@ impl Vger {
prim.width = width;
prim.paint = paint_index.index as u32;
prim.quad_bounds = [
ap.x.min(bp.x)-width/2.0,
ap.y.min(bp.y)-width/2.0,
ap.x.max(bp.x)+width/2.0,
ap.y.max(bp.y)+width/2.0,
ap.x.min(bp.x) - width / 2.0,
ap.y.min(bp.y) - width / 2.0,
ap.x.max(bp.x) + width / 2.0,
ap.y.max(bp.y) + width / 2.0,
];
prim.tex_bounds = prim.quad_bounds;
prim.xform = self.add_xform() as u32;
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,4 @@ fn segment_stroke_horizontal() {
"segment_stroke_horizontal.png",
false,
);
}
}

0 comments on commit 2d52c8b

Please sign in to comment.