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

WebGLRenderer: Corected info.

上级 9ade6d34
......@@ -2768,7 +2768,7 @@ THREE.WebGLRenderer = function ( parameters ) {
_gl.drawArrays( mode, 0, position.array.length / 3 );
_this.info.render.calls ++;
_this.info.render.points += position.array.length / 3;
_this.info.render.vertices += position.array.length / 3;
} else {
......@@ -2779,7 +2779,7 @@ THREE.WebGLRenderer = function ( parameters ) {
_gl.drawArrays( mode, 0, offsets[ i ].count );
_this.info.render.calls ++;
_this.info.render.points += offsets[ i ].count;
_this.info.render.vertices += offsets[ i ].count;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册