diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Game/Internal.hs | 2 | ||||
| -rw-r--r-- | src/Main.hs (renamed from src/Game.hs) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Game/Internal.hs b/src/Game/Internal.hs index 61832a9..3461d27 100644 --- a/src/Game/Internal.hs +++ b/src/Game/Internal.hs @@ -208,7 +208,7 @@ applyToTuples f (x, y) (a, b) = (f x a, f y b) updateCursorPos :: Double -> Double -> Model -> Model updateCursorPos x y model = let - pyth = (((fst model.cursorPos) - x) ** 2 + ((snd model.cursorPos - y)) ** 2) ** 0.5 + pyth = (((fst model.cursorPos) - x) ** 2 + ((snd model.cursorPos) - y) ** 2) ** 0.5 in if pyth < 16 then model diff --git a/src/Game.hs b/src/Main.hs index f120a6f..2a96e89 100644 --- a/src/Game.hs +++ b/src/Main.hs @@ -7,7 +7,7 @@ - Maintainer : Matrix @Andromeda:tchncs.de - Stability : Experimental -} -module Game (main) where +module Main (main) where import Game.Internal.Types import Game.Internal |
