933d61de19
* added ESLint and updated all code base * updated SVGPathCommander, CubicBezier, shorter-js, minifill * updated polyfills * minor CSS fixes
8 lines
200 B
JavaScript
8 lines
200 B
JavaScript
export default function arrays(a, b, v) {
|
|
const result = [];
|
|
for (let i = 0, l = b.length; i < l; i += 1) {
|
|
result[i] = ((a[i] + (b[i] - a[i]) * v) * 1000 >> 0) / 1000;
|
|
}
|
|
return result;
|
|
}
|