This reverts commit 16263e942b
.
This commit is contained in:
@ -103,9 +103,3 @@ export function removeSelection() {
|
||||
export function distance(x: number, y: number) {
|
||||
return Math.abs(x - y);
|
||||
}
|
||||
|
||||
export function distance2d(x1: number, y1: number, x2: number, y2: number) {
|
||||
const xd = x2 - x1;
|
||||
const yd = y2 - y1;
|
||||
return Math.sqrt(xd * xd + yd * yd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user