未验证 提交 1c557fde 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16044 from WestLangley/dev-uvs_debug

UVsDebug: Fixed incorrectly-labeled face index
......@@ -83,7 +83,7 @@ THREE.UVsDebug = function ( geometry, size ) {
uvs[ 1 ].fromBufferAttribute( uvAttribute, face[ 1 ] );
uvs[ 2 ].fromBufferAttribute( uvAttribute, face[ 2 ] );
processFace( face, uvs, i );
processFace( face, uvs, i / 3 );
}
......@@ -101,7 +101,7 @@ THREE.UVsDebug = function ( geometry, size ) {
uvs[ 1 ].fromBufferAttribute( uvAttribute, face[ 1 ] );
uvs[ 2 ].fromBufferAttribute( uvAttribute, face[ 2 ] );
processFace( face, uvs, i );
processFace( face, uvs, i / 3 );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册