Browse Source

Merge pull request #14133 from Mugen87/dev7

Global: Clean up
Mr.doob 7 years ago
parent
commit
e319f670f4

+ 1 - 1
src/renderers/webgl/WebGLAnimation.js

@@ -49,7 +49,7 @@ function WebGLAnimation() {
 
 		}
 
-	}
+	};
 
 }
 

+ 1 - 1
src/renderers/webvr/WebVRManager.js

@@ -263,7 +263,7 @@ function WebVRManager( renderer ) {
 
 	// DEPRECATED
 
-	this.requestAnimationFrame = function ( callback ) {
+	this.requestAnimationFrame = function ( /* callback */ ) {
 
 		// device.requestAnimationFrame( callback );
 

+ 0 - 5
src/renderers/webvr/WebXRManager.js

@@ -2,18 +2,13 @@
  * @author mrdoob / http://mrdoob.com/
  */
 
-import { Matrix4 } from '../../math/Matrix4.js';
 import { Vector4 } from '../../math/Vector4.js';
-import { Vector3 } from '../../math/Vector3.js';
-import { Quaternion } from '../../math/Quaternion.js';
 import { ArrayCamera } from '../../cameras/ArrayCamera.js';
 import { PerspectiveCamera } from '../../cameras/PerspectiveCamera.js';
 import { WebGLAnimation } from '../webgl/WebGLAnimation.js';
 
 function WebXRManager( renderer ) {
 
-	var scope = this;
-
 	var gl = renderer.context;
 	var device = null;
 	var session = null;