Browse Source

Fix indentation

Tristan VALCKE 8 years ago
parent
commit
22e6b5bcbd

+ 1 - 2
src/audio/Audio.js

@@ -286,8 +286,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {
 		return this.gain.gain.value;
 
 	},
-
-
+	
 	setVolume: function ( value ) {
 
 		this.gain.gain.value = value;

+ 2 - 4
src/math/interpolants/CubicInterpolant.js

@@ -12,8 +12,7 @@ import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants';
  * @author tschw
  */
 
-function CubicInterpolant(
-		parameterPositions, sampleValues, sampleSize, resultBuffer ) {
+function CubicInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
 
 	Interpolant.call(
 			this, parameterPositions, sampleValues, sampleSize, resultBuffer );
@@ -25,8 +24,7 @@ function CubicInterpolant(
 
 }
 
-CubicInterpolant.prototype =
-		Object.assign( Object.create( Interpolant.prototype ), {
+CubicInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
 
 	constructor: CubicInterpolant,
 

+ 3 - 6
src/math/interpolants/DiscreteInterpolant.js

@@ -8,16 +8,13 @@ import { Interpolant } from '../Interpolant';
  * @author tschw
  */
 
-function DiscreteInterpolant(
-		parameterPositions, sampleValues, sampleSize, resultBuffer ) {
+function DiscreteInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
 
-	Interpolant.call(
-			this, parameterPositions, sampleValues, sampleSize, resultBuffer );
+	Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
 
 }
 
-DiscreteInterpolant.prototype =
-		Object.assign( Object.create( Interpolant.prototype ), {
+DiscreteInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
 
 	constructor: DiscreteInterpolant,
 

+ 3 - 6
src/math/interpolants/LinearInterpolant.js

@@ -4,16 +4,13 @@ import { Interpolant } from '../Interpolant';
  * @author tschw
  */
 
-function LinearInterpolant(
-		parameterPositions, sampleValues, sampleSize, resultBuffer ) {
+function LinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
 
-	Interpolant.call(
-			this, parameterPositions, sampleValues, sampleSize, resultBuffer );
+	Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
 
 }
 
-LinearInterpolant.prototype =
-		Object.assign( Object.create( Interpolant.prototype ), {
+LinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
 
 	constructor: LinearInterpolant,
 

+ 3 - 6
src/math/interpolants/QuaternionLinearInterpolant.js

@@ -7,16 +7,13 @@ import { Quaternion } from '../Quaternion';
  * @author tschw
  */
 
-function QuaternionLinearInterpolant(
-		parameterPositions, sampleValues, sampleSize, resultBuffer ) {
+function QuaternionLinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
 
-	Interpolant.call(
-			this, parameterPositions, sampleValues, sampleSize, resultBuffer );
+	Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
 
 }
 
-QuaternionLinearInterpolant.prototype =
-		Object.assign( Object.create( Interpolant.prototype ), {
+QuaternionLinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
 
 	constructor: QuaternionLinearInterpolant,
 

+ 0 - 1
src/objects/LOD.js

@@ -22,7 +22,6 @@ function LOD() {
 
 }
 
-
 LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 	constructor: LOD,

+ 0 - 1
src/objects/SkinnedMesh.js

@@ -71,7 +71,6 @@ function SkinnedMesh( geometry, material, useVertexTexture ) {
 
 }
 
-
 SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 	constructor: SkinnedMesh,

+ 1 - 0
src/renderers/WebGL2Renderer.js

@@ -182,4 +182,5 @@ function WebGL2Renderer( parameters ) {
 
 }
 
+
 export { WebGL2Renderer };

+ 1 - 0
src/renderers/WebGLRenderer.js

@@ -2884,4 +2884,5 @@ function WebGLRenderer( parameters ) {
 
 }
 
+
 export { WebGLRenderer };

+ 1 - 0
src/renderers/webgl/WebGLClipping.js

@@ -161,4 +161,5 @@ function WebGLClipping() {
 
 }
 
+
 export { WebGLClipping };

+ 1 - 0
src/renderers/webgl/WebGLProperties.js

@@ -40,4 +40,5 @@ function WebGLProperties() {
 
 }
 
+
 export { WebGLProperties };

+ 1 - 0
src/renderers/webgl/WebGLShader.js

@@ -42,4 +42,5 @@ function WebGLShader( gl, type, string ) {
 
 }
 
+
 export { WebGLShader };