提交 1a5d7bf7 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11914 from hujiulong/dev

remove unused variables
......@@ -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() ];
......
......@@ -83,8 +83,6 @@
THREE.TransformGizmo = function () {
var scope = this;
this.init = function () {
THREE.Object3D.call( this );
......@@ -441,13 +439,6 @@
THREE.TransformGizmo.prototype.update.apply( this, arguments );
var group = {
handles: this[ "handles" ],
pickers: this[ "pickers" ]
};
var tempMatrix = new THREE.Matrix4();
var worldRotation = new THREE.Euler( 0, 0, 1 );
var tempQuaternion = new THREE.Quaternion();
......@@ -625,7 +616,6 @@
var _mode = "translate";
var _dragging = false;
var _plane = "XY";
var _gizmo = {
"translate": new THREE.TransformGizmoTranslate(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册