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

Merge pull request #13217 from WestLangley/dev-groups

BufferGeometry: honor groups in toNonIndexed()
......@@ -887,6 +887,15 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
}
var groups = this.groups;
for ( var i = 0, l = groups.length; i < l; i ++ ) {
var group = groups[ i ];
geometry2.addGroup( group.start, group.count, group.materialIndex );
}
return geometry2;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册