Skip to content

Commit

Permalink
draw: make drawBezierCurve public
Browse files Browse the repository at this point in the history
  • Loading branch information
arrufat committed Dec 4, 2024
1 parent 5a299d2 commit 2398204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draw.zig
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pub fn drawLineFast(
/// The function calculates points along the Bézier curve using the given control points and
/// draws them on the image. The curve's resolution is determined by the `step` parameter,
/// where smaller steps result in a smoother but more computationally intensive curve.
fn drawBezierCurve(
pub fn drawBezierCurve(
comptime T: type,
image: Image(T),
points: [4]Point2d(f32),
Expand Down

0 comments on commit 2398204

Please sign in to comment.