summaryrefslogtreecommitdiff
path: root/src/Game/Internal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game/Internal.hs')
-rw-r--r--src/Game/Internal.hs2
1 files changed, 1 insertions, 1 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