First commit on new machine, some hlinting

This commit is contained in:
2025-12-21 18:43:52 +00:00
parent eac80d2b43
commit 2fbaa47c0b
7 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ worldPosToResOffset cfig cam p =
(worldPosToScreen cam p & each %~ f)
+ 0.5 *^ ((getWindowSize _gr_world_res cfig :: V2 Int) & each %~ fromIntegral)
where
f x = applyResFactorF (cfig ^. gr_world_res) x
f = applyResFactorF (cfig ^. gr_world_res)
-- | The mouse position in world coordinates.
mouseWorldPos :: Input -> Camera -> Point2