IceCreamYou/THREE.Terrain

Wrong variable name in scatter.js

c4b4d4 opened this issue · 1 comments

I think that from your lasts commits, this variable didn't get changed:

var rv = randomness(key);

I think it should now be:

randomness(i/9);

'Cause loop now looks like this:

for (var i = 0; i < geometry.attributes.position.array.length; i += 9) {

Fixed, thank you. Good catch.