From 51fc1047935f420b414e068442565f278277bac7 Mon Sep 17 00:00:00 2001 From: Francisco Dans Date: Wed, 25 Feb 2015 12:46:26 +0100 Subject: [PATCH] changes name to pointLayer --- lib/torque/renderer/ball.js | 2 +- lib/torque/renderer/point.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/torque/renderer/ball.js b/lib/torque/renderer/ball.js index a46846b..3e216e2 100644 --- a/lib/torque/renderer/ball.js +++ b/lib/torque/renderer/ball.js @@ -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){ diff --git a/lib/torque/renderer/point.js b/lib/torque/renderer/point.js index b1bc059..902b72c 100644 --- a/lib/torque/renderer/point.js +++ b/lib/torque/renderer/point.js @@ -247,7 +247,6 @@ var ballRenderer = require('./ball.js'); // } } } - this.ballRenderer.draw(); } prof.end(true);