Ver código fonte

remove `touch`, it is never used

Jiulong Hu 8 anos atrás
pai
commit
d6792e183a
1 arquivos alterados com 0 adições e 2 exclusões
  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() ];