Remove RenderType datatype
This commit is contained in:
+1
-4
@@ -53,7 +53,7 @@ module Picture
|
||||
where
|
||||
import Geometry
|
||||
import Geometry.Vector3D
|
||||
import Geometry.Data
|
||||
--import Geometry.Data
|
||||
import Picture.Data
|
||||
|
||||
--import Data.List
|
||||
@@ -65,9 +65,6 @@ import Control.Lens
|
||||
black :: RGBA
|
||||
black = (V4 0 0 0 1)
|
||||
|
||||
--zl :: RenderType -> [(Int,RenderType)]
|
||||
--zl rt = [(0,rt)]
|
||||
|
||||
polygon :: [Point2] -> Picture
|
||||
{-# INLINE polygon #-}
|
||||
polygon ps = map (f . zeroZ) $ polyToTris ps
|
||||
|
||||
Reference in New Issue
Block a user