mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-09 17:22:25 +02:00
6 lines
142 B
JavaScript
6 lines
142 B
JavaScript
|
function distance([x1, y1], [x2, y2]) {
|
||
|
return Math.hypot(x1 - x2, y1 - y2);
|
||
|
}
|
||
|
export default distance;
|
||
|
//# sourceMappingURL=distance.js.map
|