index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
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), |