Skip to content

Commit

Permalink
added missing var as per #8
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Sep 22, 2013
1 parent ee76607 commit 6c117b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rhill-voronoi-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ Voronoi.prototype.Cell.prototype.getBbox = function() {
xmin = Number.MAX_VALUE,
ymin = Number.MAX_VALUE,
xmax = Number.MIN_VALUE,
ymax = Number.MIN_VALUE;
ymax = Number.MIN_VALUE,
v, vx, vy;
while (iHalfedge--) {
v = halfedges[iHalfedge].getStartpoint();
vx = v.x;
Expand Down Expand Up @@ -512,6 +513,7 @@ Voronoi.prototype.Cell.prototype.pointIntersection = function(x, y) {
// "on the line segment"
var halfedges = this.halfedges,
iHalfedge = halfedges.length,
halfedge,
p0, p1, r;
while (iHalfedge--) {
halfedge = halfedges[iHalfedge];
Expand Down

0 comments on commit 6c117b9

Please sign in to comment.