index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-27 13:10:43 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-27 13:10:43 -0700 |
commit | 75a0c37ea5e5a9fa395690984c373536e8efccfa (patch) | |
tree | 808eeee44b89638b0583ba2375388c53be882c2f /src/modules/game/firingArc.js | |
parent | b88945ced695e8478076c5f53a198fd405f7db96 (diff) |
Some cleanup
Diffstat (limited to 'src/modules/game/firingArc.js')
-rw-r--r-- | src/modules/game/firingArc.js | 3 |
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), |