Browse Source

remove `touch`, it is never used

Jiulong Hu 8 năm trước cách đây
mục cha
commit
d6792e183a
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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() ];