From 56734d2cead06a8e615007f71c066509718f30b0 Mon Sep 17 00:00:00 2001 From: Lewy Blue Date: Tue, 24 Oct 2017 13:35:12 +0700 Subject: [PATCH] formatting --- examples/js/loaders/FBXLoader.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/js/loaders/FBXLoader.js b/examples/js/loaders/FBXLoader.js index 861c59cf4d..61ca0f3496 100644 --- a/examples/js/loaders/FBXLoader.js +++ b/examples/js/loaders/FBXLoader.js @@ -328,8 +328,7 @@ fileName = imageMap.get( children[ 0 ].ID ); - } else if ( relativeFilePath !== undefined && relativeFilePath[ 0 ] !== '/' && - relativeFilePath.match( /^[a-zA-Z]:/ ) === null ) { + } else if ( relativeFilePath !== undefined && relativeFilePath[ 0 ] !== '/' && relativeFilePath.match( /^[a-zA-Z]:/ ) === null ) { // use textureNode.properties.RelativeFilename // if it exists and it doesn't seem an absolute path @@ -3894,7 +3893,7 @@ for ( var i = 0; i < this.vertices.length; ++ i ) { - this.vertices[ i ].copy( returnVar.vertices[ i ] ); + this.vertices[ i ].copy( returnVar.vertices[ i ] ); } @@ -4037,7 +4036,7 @@ } ); - function TextParser() { } + function TextParser() {} Object.assign( TextParser.prototype, { @@ -4466,7 +4465,7 @@ // Binary format specification: // https://code.blender.org/2013/08/fbx-binary-file-format-specification/ // https://wiki.rogiken.org/specifications/file-format/fbx/ (more detail but Japanese) - function BinaryParser() { } + function BinaryParser() {} Object.assign( BinaryParser.prototype, { @@ -4664,8 +4663,7 @@ if ( innerPropName.indexOf( 'Lcl ' ) === 0 ) innerPropName = innerPropName.replace( 'Lcl ', 'Lcl_' ); if ( innerPropType1.indexOf( 'Lcl ' ) === 0 ) innerPropType1 = innerPropType1.replace( 'Lcl ', 'Lcl_' ); - if ( innerPropType1 === 'ColorRGB' || innerPropType1 === 'Vector' || - innerPropType1 === 'Vector3D' || innerPropType1.indexOf( 'Lcl_' ) === 0 ) { + if ( innerPropType1 === 'ColorRGB' || innerPropType1 === 'Vector' || innerPropType1 === 'Vector3D' || innerPropType1.indexOf( 'Lcl_' ) === 0 ) { innerPropValue = [ node.propertyList[ 4 ], @@ -5224,7 +5222,7 @@ } ); - function FBXTree() { } + function FBXTree() {} Object.assign( FBXTree.prototype, { -- GitLab