Skip to content

Commit

Permalink
Merge pull request #20136 from Mugen87/dev45
Browse files Browse the repository at this point in the history
Examples: Fix NaN bug in GLBufferAttribute demo.
  • Loading branch information
mrdoob committed Aug 20, 2020
2 parents 6230e07 + 3cca1b4 commit 9f29ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webgl_buffergeometry_glbufferattribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
var points;

var particles = 300000;
var drawCount = 10000;

init();
animate();
Expand Down Expand Up @@ -155,7 +156,6 @@

}

var drawCount = 10000;
function render() {

drawCount = ( Math.max( 5000, drawCount ) + Math.floor( 500 * Math.random() ) ) % particles;
Expand Down

0 comments on commit 9f29ef4

Please sign in to comment.