update PatEL version.
This commit is contained in:
parent
fd32dcbfc0
commit
99d3c8ccd6
|
@ -169,12 +169,6 @@ define-macro save : syntax-rules
|
|||
### COMMON FUNCTIONS
|
||||
define [mix a b p] : a + (b - a) * p
|
||||
define [linreg x0 y0 x1 y1 x] : y0 + (x - x0) * (y1 - y0) / (x1 - x0)
|
||||
define [bilinear x0 x1 y0 y1 z00 z01 z10 z11 x y] : linreg
|
||||
* y0
|
||||
linreg x0 z00 x1 z10 x
|
||||
* y1
|
||||
linreg x0 z01 x1 z11 x
|
||||
* y
|
||||
define [clamp l h x] : if (x < l) l : if (x > h) h x
|
||||
define [fallback] : begin
|
||||
for [local j 0] (j < arguments.length) [inc j] : if (arguments.(j) !== nothing) : return arguments.(j)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version": "1.6.2",
|
||||
"main": "./generate.js",
|
||||
"dependencies": {
|
||||
"patel": ">=0.26.0",
|
||||
"patel": ">=0.26.3",
|
||||
"node-sfnt": ">=0.0.20",
|
||||
"bezier-js": "*",
|
||||
"yargs": "*",
|
||||
|
|
Loading…
Reference in New Issue
Block a user