Refactor vertex poking
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ polyToPics = map helpPoly3D . _pyFaces
|
||||
helpPoly3D :: [(Point3, Point4)] -> [Verx]
|
||||
helpPoly3D vs = map f $ polyToTris vs
|
||||
where
|
||||
f (pos,col) = Verx pos col PolyV 0 polyNum
|
||||
f (pos,col) = Verx pos col [] 0 polyNum
|
||||
|
||||
polysToPic :: [Polyhedra] -> Picture
|
||||
polysToPic = pictures . concatMap polyToPics
|
||||
|
||||
Reference in New Issue
Block a user