changes name to pointLayer
This commit is contained in:
parent
d048652ba9
commit
51fc104793
@ -42,7 +42,7 @@ BallRenderer.prototype = {
|
||||
},
|
||||
addPoint: function(x, y, alpha){
|
||||
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){
|
||||
function lineDistance(x,y){
|
||||
|
@ -247,7 +247,6 @@ var ballRenderer = require('./ball.js');
|
||||
// }
|
||||
}
|
||||
}
|
||||
this.ballRenderer.draw();
|
||||
}
|
||||
|
||||
prof.end(true);
|
||||
|
Loading…
Reference in New Issue
Block a user