Skip to content

Commit

Permalink
correct declares
Browse files Browse the repository at this point in the history
  • Loading branch information
dariosanfilippo authored and sletz committed Sep 29, 2024
1 parent ac91e61 commit 2435ba4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions interpolators.lib
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ with {
// * `y1`: y-coordinate destination
// * `x`: x-coordinate input
//------------------------------------------------------------------------------
declare interpolator_select author "Dario Sanfilippo";
declare interpolator_select licence "MIT";
declare lerp author "Dario Sanfilippo";
declare lerp licence "MIT";
lerp(x0, x1, y0, y1, x) = y
with {
xRange = x1 - x0;
Expand Down Expand Up @@ -512,8 +512,8 @@ lerp(x0, x1, y0, y1, x) = y
// ```
//
//------------------------------------------------------------------------------
declare interpolator_select author "Dario Sanfilippo";
declare interpolator_select licence "MIT";
declare piecewise author "Dario Sanfilippo";
declare piecewise licence "MIT";
piecewise(xList, yList, x) = y , assert
with {
N = outputs(xList);
Expand Down

0 comments on commit 2435ba4

Please sign in to comment.