Fix spelling

This commit is contained in:
Alex Clink 2024-10-14 23:18:01 -04:00
parent 0bf101777e
commit 615cdc5d89
No known key found for this signature in database
GPG key ID: 081CC9920757FABF

View file

@ -58,12 +58,6 @@ class CubicBezier < PF::Game
draw_rect(*@curve.rect.map(&.to_i), CTL_COLOR)
draw_curve(@curve, CURVE_COLOR)
@curve.extremeties.each do |point|
point.try do |p|
draw_circle(p.to_i, 3, EXT_Y_COLOR)
end
end
fill_circle(@curve.p0.to_i, 2, POINT_COLOR)
fill_circle(@curve.p1.to_i, 2, POINT_COLOR)
fill_circle(@curve.p2.to_i, 2, POINT_COLOR)
@ -77,6 +71,12 @@ class CubicBezier < PF::Game
if point = @hover_point
draw_circle(point.value.to_i, 5, SEL_COLOR)
end
@curve.extremities.each do |point|
point.try do |p|
draw_circle(p.to_i, 3, EXT_Y_COLOR)
end
end
end
end