Commit before attempting to remove ptDraw field
This commit is contained in:
+2
-1
@@ -140,7 +140,8 @@ polyToTris'' _ = []
|
||||
polyToTris :: [s] -> [s]
|
||||
{-# INLINABLE polyToTris #-}
|
||||
--polyToTris (x:xs) = foldr (f x) [] $ foldPairs xs
|
||||
polyToTris (x:xs) = foldr (f x) [] $ zip xs $ tail xs
|
||||
polyToTris (x:xs) = foldl' (flip $ f x) [] $ zip xs $ tail xs
|
||||
--polyToTris (x:xs) = foldr (f x) [] $ zip xs $ tail xs
|
||||
where
|
||||
f a (b,c) ls = a:b:c:ls
|
||||
polyToTris _ = []
|
||||
|
||||
Reference in New Issue
Block a user