提交 22e6b5bc 编写于 作者: T Tristan VALCKE

Fix indentation

上级 08c40e22
...@@ -286,8 +286,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), { ...@@ -286,8 +286,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {
return this.gain.gain.value; return this.gain.gain.value;
}, },
setVolume: function ( value ) { setVolume: function ( value ) {
this.gain.gain.value = value; this.gain.gain.value = value;
......
...@@ -12,8 +12,7 @@ import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants'; ...@@ -12,8 +12,7 @@ import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants';
* @author tschw * @author tschw
*/ */
function CubicInterpolant( function CubicInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
parameterPositions, sampleValues, sampleSize, resultBuffer ) {
Interpolant.call( Interpolant.call(
this, parameterPositions, sampleValues, sampleSize, resultBuffer ); this, parameterPositions, sampleValues, sampleSize, resultBuffer );
...@@ -25,8 +24,7 @@ function CubicInterpolant( ...@@ -25,8 +24,7 @@ function CubicInterpolant(
} }
CubicInterpolant.prototype = CubicInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
Object.assign( Object.create( Interpolant.prototype ), {
constructor: CubicInterpolant, constructor: CubicInterpolant,
......
...@@ -8,16 +8,13 @@ import { Interpolant } from '../Interpolant'; ...@@ -8,16 +8,13 @@ import { Interpolant } from '../Interpolant';
* @author tschw * @author tschw
*/ */
function DiscreteInterpolant( function DiscreteInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
parameterPositions, sampleValues, sampleSize, resultBuffer ) {
Interpolant.call( Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
this, parameterPositions, sampleValues, sampleSize, resultBuffer );
} }
DiscreteInterpolant.prototype = DiscreteInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
Object.assign( Object.create( Interpolant.prototype ), {
constructor: DiscreteInterpolant, constructor: DiscreteInterpolant,
......
...@@ -4,16 +4,13 @@ import { Interpolant } from '../Interpolant'; ...@@ -4,16 +4,13 @@ import { Interpolant } from '../Interpolant';
* @author tschw * @author tschw
*/ */
function LinearInterpolant( function LinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
parameterPositions, sampleValues, sampleSize, resultBuffer ) {
Interpolant.call( Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
this, parameterPositions, sampleValues, sampleSize, resultBuffer );
} }
LinearInterpolant.prototype = LinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
Object.assign( Object.create( Interpolant.prototype ), {
constructor: LinearInterpolant, constructor: LinearInterpolant,
......
...@@ -7,16 +7,13 @@ import { Quaternion } from '../Quaternion'; ...@@ -7,16 +7,13 @@ import { Quaternion } from '../Quaternion';
* @author tschw * @author tschw
*/ */
function QuaternionLinearInterpolant( function QuaternionLinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
parameterPositions, sampleValues, sampleSize, resultBuffer ) {
Interpolant.call( Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
this, parameterPositions, sampleValues, sampleSize, resultBuffer );
} }
QuaternionLinearInterpolant.prototype = QuaternionLinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
Object.assign( Object.create( Interpolant.prototype ), {
constructor: QuaternionLinearInterpolant, constructor: QuaternionLinearInterpolant,
......
...@@ -22,7 +22,6 @@ function LOD() { ...@@ -22,7 +22,6 @@ function LOD() {
} }
LOD.prototype = Object.assign( Object.create( Object3D.prototype ), { LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {
constructor: LOD, constructor: LOD,
......
...@@ -71,7 +71,6 @@ function SkinnedMesh( geometry, material, useVertexTexture ) { ...@@ -71,7 +71,6 @@ function SkinnedMesh( geometry, material, useVertexTexture ) {
} }
SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), { SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
constructor: SkinnedMesh, constructor: SkinnedMesh,
......
...@@ -182,4 +182,5 @@ function WebGL2Renderer( parameters ) { ...@@ -182,4 +182,5 @@ function WebGL2Renderer( parameters ) {
} }
export { WebGL2Renderer }; export { WebGL2Renderer };
...@@ -2884,4 +2884,5 @@ function WebGLRenderer( parameters ) { ...@@ -2884,4 +2884,5 @@ function WebGLRenderer( parameters ) {
} }
export { WebGLRenderer }; export { WebGLRenderer };
...@@ -161,4 +161,5 @@ function WebGLClipping() { ...@@ -161,4 +161,5 @@ function WebGLClipping() {
} }
export { WebGLClipping }; export { WebGLClipping };
...@@ -40,4 +40,5 @@ function WebGLProperties() { ...@@ -40,4 +40,5 @@ function WebGLProperties() {
} }
export { WebGLProperties }; export { WebGLProperties };
...@@ -42,4 +42,5 @@ function WebGLShader( gl, type, string ) { ...@@ -42,4 +42,5 @@ function WebGLShader( gl, type, string ) {
} }
export { WebGLShader }; export { WebGLShader };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册