aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Point.elm
diff options
context:
space:
mode:
authorJoris2015-11-14 17:10:20 +0100
committerJoris2015-11-14 17:10:20 +0100
commite43df972c82c8b5926f76658c7588074e6a15069 (patch)
tree47489029d7c6423884c63763dea69966cb60ab6d /src/Model/Point.elm
parentb654acd2af332612748f754c0fd53b47f45a77e9 (diff)
Display the game at fullscreen
Diffstat (limited to 'src/Model/Point.elm')
-rw-r--r--src/Model/Point.elm6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Model/Point.elm b/src/Model/Point.elm
index 9084c1b..a465e40 100644
--- a/src/Model/Point.elm
+++ b/src/Model/Point.elm
@@ -4,7 +4,6 @@ module Model.Point
, pointSize
, pointSpeed
, pointSpawnDist
- , pointAwayDist
) where
import Model.Vec2 exposing (..)
@@ -28,7 +27,4 @@ pointSpeed : Float -> Float
pointSpeed dt = dt / 20
pointSpawnDist : Vec2 -> Float
-pointSpawnDist boardSize = (boardDiagonal boardSize) * 3 / 5
-
-pointAwayDist : Vec2 -> Float
-pointAwayDist boardSize = (boardDiagonal boardSize) * 3 / 4
+pointSpawnDist boardSize = (boardDiagonal boardSize) * 2.5 / 5 + pointSize