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

Fix indentation

上级 08c40e22
......@@ -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;
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -22,7 +22,6 @@ function LOD() {
}
LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {
constructor: LOD,
......
......@@ -71,7 +71,6 @@ function SkinnedMesh( geometry, material, useVertexTexture ) {
}
SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
constructor: SkinnedMesh,
......
......@@ -182,4 +182,5 @@ function WebGL2Renderer( parameters ) {
}
export { WebGL2Renderer };
......@@ -2884,4 +2884,5 @@ function WebGLRenderer( parameters ) {
}
export { WebGLRenderer };
......@@ -161,4 +161,5 @@ function WebGLClipping() {
}
export { WebGLClipping };
......@@ -40,4 +40,5 @@ function WebGLProperties() {
}
export { WebGLProperties };
......@@ -42,4 +42,5 @@ function WebGLShader( gl, type, string ) {
}
export { WebGLShader };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册