From f262d3be178e695b1a24d97533841ca3354013be Mon Sep 17 00:00:00 2001 From: Elijah Cohen Date: Tue, 30 Apr 2019 17:40:31 -0500 Subject: [PATCH] okay minor fix and a better sense, but still --- server/field.js | 4 ++-- web/field.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/field.js b/server/field.js index 1b4d997..c8f0baf 100644 --- a/server/field.js +++ b/server/field.js @@ -36,9 +36,9 @@ var genAllEndpoints = function(n, dead) { } else { // here it has to be alive, skips over dead and no time var point1 = new Coord(r*Math.cos(theta),r*Math.sin(theta)); - theta += dtheta; + theta += dtheta/2; var point2 = new Coord(r*Math.cos(theta),r*Math.sin(theta)); - theta += dtheta; + theta += dtheta/2; var point3 = new Coord(r*Math.cos(theta),r*Math.sin(theta)); endpoints.push(new Endpoints(point1, point2, i)); endpoints.push(new Endpoints(point2, point3, -1)); diff --git a/web/field.js b/web/field.js index 2744f84..4135310 100644 --- a/web/field.js +++ b/web/field.js @@ -30,9 +30,9 @@ var genAllEndpoints = function(n, dead) { } else { // here it has to be alive, skips over dead and no time var point1 = new Coord(r*Math.cos(theta),r*Math.sin(theta)); - theta += dtheta; + theta += dtheta/2; var point2 = new Coord(r*Math.cos(theta),r*Math.sin(theta)); - theta += dtheta; + theta += dtheta/2; var point3 = new Coord(r*Math.cos(theta),r*Math.sin(theta)); endpoints.push(new Endpoints(point1, point2, i)); endpoints.push(new Endpoints(point2, point3, -1)); -- 2.39.2