Organize support files and simplify imports
This commit is contained in:
parent
70f41352c1
commit
ef203af85a
178 changed files with 61 additions and 269 deletions
|
@ -3,9 +3,6 @@
|
|||
function mix(a, b, p) {
|
||||
return a + (b - a) * p;
|
||||
}
|
||||
function ratio(l, r, m) {
|
||||
return l === r ? 0 : (m - l) / (r - l);
|
||||
}
|
||||
function barmixL(l, r, b, p) {
|
||||
return l > r ? barmixL(r, l, b, p) : l + b + p * (r - l - b * 3);
|
||||
}
|
||||
|
@ -38,7 +35,6 @@ function bez3(a, b, c, d, t) {
|
|||
}
|
||||
|
||||
exports.mix = mix;
|
||||
exports.ratio = ratio;
|
||||
exports.barmixL = barmixL;
|
||||
exports.barmixM = barmixM;
|
||||
exports.barmixR = barMixR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue