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

Merge pull request #20136 from Mugen87/dev45

Examples: Fix NaN bug in GLBufferAttribute demo.
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
var points; var points;
var particles = 300000; var particles = 300000;
var drawCount = 10000;
init(); init();
animate(); animate();
...@@ -155,7 +156,6 @@ ...@@ -155,7 +156,6 @@
} }
var drawCount = 10000;
function render() { function render() {
drawCount = ( Math.max( 5000, drawCount ) + Math.floor( 500 * Math.random() ) ) % particles; drawCount = ( Math.max( 5000, drawCount ) + Math.floor( 500 * Math.random() ) ) % particles;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册