Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Feb 4, 2025
1 parent 56061c2 commit 9845cf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/epaint/src/tessellator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,10 @@ fn stroke_and_fill_path(

// (in the future it would be great with an option to add a circular end instead)

// TODO(emilk): we should probably shrink before adding the line caps,
// so that we don't add to the area of the line.
// TODO(emilk): make line caps optional.

out.reserve_triangles(6 * n as usize + 4);
out.reserve_vertices(4 * n as usize);

Expand Down

0 comments on commit 9845cf3

Please sign in to comment.