提交 2125b9b9 编写于 作者: D Daniel Hritzkiv

Move `vertices` outside of the faces loop

上级 51c02d46
......@@ -114,13 +114,13 @@ THREE.OBJExporter.prototype = {
}
}
// faces
var indices = [];
for ( var i = 0, j = 1, l = faces.length; i < l; i ++, j += 3 ) {
var face = faces[ i ];
var indices = [];
for ( var m = 0; m < 3; m ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册