Fix wall depth rendering
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ translate x y pic = OverPic (translate3 x y) id 0 id pic
|
||||
|
||||
setDepth :: Float -> Picture -> Picture
|
||||
{-# INLINE setDepth #-}
|
||||
setDepth d pic = OverPic (\(x,y,_) -> (x,y,-d)) id 0 id pic
|
||||
setDepth d pic = OverPic (\(x,y,_) -> (x,y,d)) id 0 id pic
|
||||
|
||||
setLayer :: Int -> Picture -> Picture
|
||||
{-# INLINE setLayer #-}
|
||||
|
||||
Reference in New Issue
Block a user