1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.midPoint = void 0;
|
4 | function midPoint(a, b, t) {
|
5 | var ax = a[0];
|
6 | var ay = a[1];
|
7 | var bx = b[0];
|
8 | var by = b[1];
|
9 | return [ax + (bx - ax) * t, ay + (by - ay) * t];
|
10 | }
|
11 | exports.midPoint = midPoint;
|
12 | //# sourceMappingURL=mid-point.js.map |
\ | No newline at end of file |