Make anti-clockwise what were clockwise shapes, cleanup flash module-ing

This commit is contained in:
2024-10-04 00:59:08 +01:00
parent ac550bc6a4
commit 075429088b
18 changed files with 128 additions and 156 deletions
+2
View File
@@ -55,6 +55,7 @@ polyCircx n = map (vNormaly . addZ 0) . polyCirc n
-- length of polys must be the same
-- points should be correctly ordered so that
-- polys form a prism-like object with quad faces between them
-- each layer of points must be arranged anticlockwise
prismPoly ::
Size ->
Importance ->
@@ -123,6 +124,7 @@ upperPrismPoly ::
Size ->
Importance ->
Float ->
-- | Should be anticlockwise
[Point2] ->
Shape
{-# INLINE upperPrismPoly #-}