From 22e866b8aa9a2a7a11c5a98e656ced93e4cc7338 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Sun, 23 May 2021 23:53:14 +0200 Subject: [PATCH] Remove unused functions --- client-data/tools/hand/hand.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/client-data/tools/hand/hand.js b/client-data/tools/hand/hand.js index efa478a1..8f95db67 100644 --- a/client-data/tools/hand/hand.js +++ b/client-data/tools/hand/hand.js @@ -38,20 +38,6 @@ var selectorState = selectorStates.pointing; var last_sent = 0; - function inRect(x, y, rect) { - return (x >= rect.x && x <= rect.x + rect.width) && - (y >= rect.y && y >= rect.w + rect.height) - } - - function intersectRect(rect1, rect2) { - return !( - (rect1.x + rect1.width <= rect2.x) || - (rect2.x + rect2.width <= rect1.x) || - (rect1.y + rect1.height <= rect2.y) || - (rect2.y + rect2.height <= rect1.y) - ) - } - function getParentMathematics(el) { var target var a = el