Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed May 23, 2021
1 parent d279041 commit 22e866b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions client-data/tools/hand/hand.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e866b

Please sign in to comment.