diff options
| author | mtgmonkey <mtgmonkey@nixos> | 2025-12-13 19:22:42 +0100 |
|---|---|---|
| committer | mtgmonkey <mtgmonkey@nixos> | 2025-12-13 19:22:42 +0100 |
| commit | e9b4e2d34af8f0ea4a54d8d093108cdfdc68757c (patch) | |
| tree | 125b11cc5e5d28c12298d1a1e95bdad706e67c5d /src | |
| parent | 73985e298a407ecc161d65b6bf92d3fc535aa73a (diff) | |
Cabal; non-Nix support
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 |
