提交 efe234a1 编写于 作者: M Mr.doob

BufferGeometry: Fixed compiler warning.

上级 c227b00e
......@@ -918,10 +918,11 @@ THREE.BufferGeometry.prototype = {
this.reorderBuffers( sortedIndices, revVertexMap, vertexPtr );
this.clearDrawCalls();
for ( var i = 0; i < tmpOffsets.length; i ++ ) {
var offset = tmpOffsets[ i ];
this.addDrawCall( offset.start, offset.count, offset.index );
var tmpOffset = tmpOffsets[ i ];
this.addDrawCall( tmpOffset.start, tmpOffset.count, tmpOffset.index );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册