Run pre-commit on legacy code

This commit is contained in:
jo 2021-10-12 11:17:57 +02:00
parent fea11ac752
commit 83b7e4162e
323 changed files with 6126 additions and 6462 deletions

View file

@ -13,7 +13,7 @@ Curves.createLinearBuffer = function createLinearBuffer(length, rotation) {
}
else {
curve[i] = 1 - x;
}
}
}
return curve;
};
@ -27,7 +27,7 @@ Curves.createExponentialBuffer = function createExponentialBuffer(length, rotati
for (i = 0; i < length; i++) {
x = i / scale;
index = rotation > 0 ? i : length - 1 - i;
curve[index] = Math.exp(2 * x - 1) / Math.exp(1);
}
return curve;
@ -69,4 +69,3 @@ Curves.createLogarithmicBuffer = function createLogarithmicBuffer(length, base,
return curve;
};