First commit on new machine, some hlinting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user