Forráskód Böngészése

remove `touch`, it is never used

Jiulong Hu 8 éve
szülő
commit
d6792e183a
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      examples/js/controls/EditorControls.js

+ 0 - 2
examples/js/controls/EditorControls.js

@@ -199,8 +199,6 @@ THREE.EditorControls = function ( object, domElement ) {
 
 	// touch
 
-	var touch = new THREE.Vector3();
-
 	var touches = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
 	var prevTouches = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];