Linting, haddocking

This commit is contained in:
2021-04-29 15:31:07 +02:00
parent 750a67ea6e
commit 6a38950501
34 changed files with 506 additions and 441 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ import qualified Data.Set as S
import Graphics.Rendering.OpenGL hiding (color,scale,translate,rotate)
import qualified SDL
halfwindow = over windowX ( / 2) . over windowY ( / 2)
halfwindow = over (config . windowX) ( / 2) . over (config . windowY) ( / 2)
doDrawing :: RenderData -> World -> IO (Word32)
doDrawing pdata w = do
@@ -40,7 +40,7 @@ doDrawing pdata w = do
let rot = _cameraRot w
zoom = _cameraZoom w
trans@(tranx,trany) = _cameraCenter w
wins@(winx,winy) = (_windowX w,_windowY w)
wins@(winx,winy) = (getWindowX w,getWindowY w)
wallPointsCol = wallsPointsAndCols w
windowPoints = wallsWindows w
lightPoints = lightsForGloom' w