From 304a8a88304f825cf4703bbca6b2003ed27097a1 Mon Sep 17 00:00:00 2001 From: Alex Clink Date: Thu, 3 Mar 2022 00:01:04 -0500 Subject: [PATCH] Add doc --- src/bezier/cubic.cr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bezier/cubic.cr b/src/bezier/cubic.cr index 58524f0..9d1adbb 100644 --- a/src/bezier/cubic.cr +++ b/src/bezier/cubic.cr @@ -2,6 +2,10 @@ require "../bezier" module PF 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) include Aproximations