未验证 提交 9db3d4f7 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #19456 from Mugen87/dev49

GLTFExporter: Clean up.
......@@ -517,9 +517,9 @@ THREE.GLTFExporter.prototype = {
} else {
if ( a === 0 ) value = attribute.getX( i );
if ( a === 1 ) value = attribute.getY( i );
if ( a === 2 ) value = attribute.getZ( i );
if ( a === 3 ) value = attribute.getW( i );
else if ( a === 1 ) value = attribute.getY( i );
else if ( a === 2 ) value = attribute.getZ( i );
else if ( a === 3 ) value = attribute.getW( i );
}
......
......@@ -539,9 +539,9 @@ GLTFExporter.prototype = {
} else {
if ( a === 0 ) value = attribute.getX( i );
if ( a === 1 ) value = attribute.getY( i );
if ( a === 2 ) value = attribute.getZ( i );
if ( a === 3 ) value = attribute.getW( i );
else if ( a === 1 ) value = attribute.getY( i );
else if ( a === 2 ) value = attribute.getZ( i );
else if ( a === 3 ) value = attribute.getW( i );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册