Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-27 13:10:43 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-27 13:10:43 -0700
commit75a0c37ea5e5a9fa395690984c373536e8efccfa (patch)
tree808eeee44b89638b0583ba2375388c53be882c2f /src/modules/game/firingArc.js
parentb88945ced695e8478076c5f53a198fd405f7db96 (diff)
Some cleanup
Diffstat (limited to 'src/modules/game/firingArc.js')
-rw-r--r--src/modules/game/firingArc.js3
1 files changed, 1 insertions, 2 deletions
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),