Browse Source

Remove unused functions

dev_h
Ophir LOJKINE 4 years ago
parent
commit
22e866b8aa
1 changed files with 0 additions and 14 deletions
  1. 0
    14
      client-data/tools/hand/hand.js

+ 0
- 14
client-data/tools/hand/hand.js View File

@@ -38,20 +38,6 @@
38 38
 	var selectorState = selectorStates.pointing;
39 39
 	var last_sent = 0;
40 40
 
41
-	function inRect(x, y, rect) {
42
-		return (x >= rect.x && x <= rect.x + rect.width) &&
43
-			(y >= rect.y && y >= rect.w + rect.height)
44
-	}
45
-
46
-	function intersectRect(rect1, rect2) {
47
-		return !(
48
-			(rect1.x + rect1.width <= rect2.x) ||
49
-			(rect2.x + rect2.width <= rect1.x) ||
50
-			(rect1.y + rect1.height <= rect2.y) ||
51
-			(rect2.y + rect2.height <= rect1.y)
52
-		)
53
-	}
54
-
55 41
 	function getParentMathematics(el) {
56 42
 		var target
57 43
 		var a = el

Loading…
Cancel
Save