Explorar o código

Merge pull request #12449 from Mugen87/linter

Clean up
Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
b83561c04e
Modificáronse 2 ficheiros con 10 adicións e 10 borrados
  1. 7 7
      src/core/Object3D.js
  2. 3 3
      src/renderers/WebGLRenderer.js

+ 7 - 7
src/core/Object3D.js

@@ -171,23 +171,23 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
 	}(),
 
 	rotateOnWorldAxis: function () {
-		
+
 		// rotate object on axis in world space
 		// axis is assumed to be normalized
 		// method assumes no rotated parent
 
 		var q1 = new Quaternion();
-		
+
 		return function rotateOnWorldAxis( axis, angle ) {
-		
+
 			q1.setFromAxisAngle( axis, angle );
-		
+
 			this.quaternion.premultiply( q1 );
-		
+
 			return this;
-		
+
 		};
-		
+
 	}(),
 
 	rotateX: function () {

+ 3 - 3
src/renderers/WebGLRenderer.js

@@ -437,7 +437,7 @@ function WebGLRenderer( parameters ) {
 
 	// Clearing
 
-	this.getClearColor = function() {
+	this.getClearColor = function () {
 
 		return background.getClearColor();
 
@@ -449,13 +449,13 @@ function WebGLRenderer( parameters ) {
 
 	};
 
-	this.getClearAlpha = function() {
+	this.getClearAlpha = function () {
 
 		return background.getClearAlpha();
 
 	};
 
-	this.setClearAlpha = function() {
+	this.setClearAlpha = function () {
 
 		background.setClearAlpha.apply( background, arguments );