提交 13f6b009 编写于 作者: M Mugen87

GLTFExporter: Fix code style

上级 3a708357
......@@ -566,8 +566,8 @@ THREE.GLTFExporter.prototype = {
var end = start + count;
var end2 = geometry.drawRange.count === Infinity
? attribute.count
: geometry.drawRange.start + geometry.drawRange.count;
? attribute.count
: geometry.drawRange.start + geometry.drawRange.count;
start = Math.max( start, geometry.drawRange.start );
count = Math.min( end, end2 ) - start;
......@@ -770,7 +770,7 @@ THREE.GLTFExporter.prototype = {
var gltfTexture = {
sampler: processSampler( map ),
source: processImage( map.image, map.format, map.flipY )
source: processImage( map.image, map.format, map.flipY )
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册