Add aggressive light culling
This commit is contained in:
@@ -55,6 +55,7 @@ polygonWire :: [Point2] -> Picture
|
||||
{-# INLINE polygonWire #-}
|
||||
polygonWire ps = line (ps ++ [head ps])
|
||||
|
||||
-- need to check the winding!
|
||||
polygon :: [Point2] -> Picture
|
||||
{-# INLINE polygon #-}
|
||||
polygon = map f . polyToTris
|
||||
|
||||
Reference in New Issue
Block a user