Fill a looped curve with the selected background color (#1315)
This commit is contained in:
@ -134,12 +134,6 @@ 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.hypot(xd, yd);
|
||||
}
|
||||
|
||||
export function resetCursor() {
|
||||
document.documentElement.style.cursor = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user