From e9b4e2d34af8f0ea4a54d8d093108cdfdc68757c Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Sat, 13 Dec 2025 19:22:42 +0100 Subject: Cabal; non-Nix support --- src/Game/Internal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Game') 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 -- cgit v1.3.1