Web Dev Solutions

Catalin Mititiuc

From 75a0c37ea5e5a9fa395690984c373536e8efccfa Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sat, 27 Apr 2024 13:10:43 -0700 Subject: Some cleanup --- src/modules/game/firingArc.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/game/firingArc.js') diff --git a/src/modules/game/firingArc.js b/src/modules/game/firingArc.js index db122a0..817bc44 100644 --- a/src/modules/game/firingArc.js +++ b/src/modules/game/firingArc.js @@ -4,8 +4,7 @@ // cancels out, leaving us with a unitless ratio of sqrt(3) / (3 / 2), or // 2 * sqrt(3) / 3. -const svgns = "http://www.w3.org/2000/svg", - horzToVertDistRatio = 2 * Math.sqrt(3) / 3, +const horzToVertDistRatio = 2 * Math.sqrt(3) / 3, arcSize = { 'small': Math.atan(horzToVertDistRatio / 6), -- cgit v1.2.3