mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2025-01-15 15:41:08 +01:00
Add doc
This commit is contained in:
parent
2e6fca44e3
commit
304a8a8830
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue