Cabal; non-Nix support

This commit is contained in:
mtgmonkey
2025-12-13 19:22:42 +01:00
parent 73985e298a
commit e9b4e2d34a
8 changed files with 143 additions and 119 deletions

View File

@@ -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

View File

@@ -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