changes name to pointLayer

This commit is contained in:
Francisco Dans 2015-02-25 12:46:26 +01:00
parent d048652ba9
commit 51fc104793
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,7 @@ BallRenderer.prototype = {
}, },
addPoint: function(x, y, alpha){ addPoint: function(x, y, alpha){
var indexPos = this.getRIndexPos(x, y); var indexPos = this.getRIndexPos(x, y);
this.pointList[indexPos + 3] = this.pointList[indexPos + 3] + alpha; this.pointLayer[indexPos + 3] = this.pointLayer[indexPos + 3] + alpha;
}, },
horizontalLine: function(xi, yi, xf, yf, x0, y0){ horizontalLine: function(xi, yi, xf, yf, x0, y0){
function lineDistance(x,y){ function lineDistance(x,y){

View File

@ -247,7 +247,6 @@ var ballRenderer = require('./ball.js');
// } // }
} }
} }
this.ballRenderer.draw();
} }
prof.end(true); prof.end(true);