diff options
Diffstat (limited to 'src/Model/Point.elm')
-rw-r--r-- | src/Model/Point.elm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Model/Point.elm b/src/Model/Point.elm index 41967b6..40043a5 100644 --- a/src/Model/Point.elm +++ b/src/Model/Point.elm @@ -27,8 +27,8 @@ pointSize = 10 pointSpeed : Float -> Float pointSpeed dt = dt / 20 -pointSpawnDist : Float -pointSpawnDist = boardDiagonal * 3 / 5 +pointSpawnDist : Vec2 -> Float +pointSpawnDist boardSize = (boardDiagonal boardSize) * 3 / 5 -pointAwayDist : Float -pointAwayDist = boardDiagonal * 3 / 4 +pointAwayDist : Vec2 -> Float +pointAwayDist boardSize = (boardDiagonal boardSize) * 3 / 4 |