This commit is contained in:
Alex Clink 2022-03-03 00:01:04 -05:00
parent 2e6fca44e3
commit 304a8a8830

View file

@ -2,6 +2,10 @@ require "../bezier"
module PF module PF
module Bezier module Bezier
# Cubic bezier is a type of spline segment with 4 control points.
# The curve intersects points 0 and 3, while points 1 and 2 control the curve
#
# For information on the implementation see https://pomax.github.io/bezierinfo
struct Cubic(T) struct Cubic(T)
include Aproximations include Aproximations