浏览代码

Address review comments (brackets)

Christopher Cook 7 年之前
父节点
当前提交
06fe73a904
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -196,7 +196,7 @@ THREE.GLTFExporter.prototype = {
 
 			var remainder = bufferSize % boundary;
 			
-			var padding =  (remainder === 0 ) ? 0 : boundary - remainder;
+			var padding =  remainder === 0 ? 0 : boundary - remainder;
 
 			return bufferSize + padding;
 		}