invalidates pointarray when not cumulative
This commit is contained in:
parent
171a5b6e0c
commit
68ff448f78
@ -118,8 +118,9 @@ BallRenderer.prototype = {
|
||||
expandArray: function(){
|
||||
|
||||
},
|
||||
invalidate: function(){
|
||||
this.pointLayer = this.contourLayer = this.isoplethLayer = new Uint8ClampedArray(this.size * 4);
|
||||
invalidate: function(full){
|
||||
if(full) this.pointLayer = new Uint8ClampedArray(this.size * 4);
|
||||
this.contourLayer = this.isoplethLayer = new Uint8ClampedArray(this.size * 4);
|
||||
},
|
||||
getRIndexPos: function(x,y){
|
||||
var rIndexPos = (y*this.width+x)*4;
|
||||
|
Loading…
Reference in New Issue
Block a user