Cleanup
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ translateXY x y = pyFaces %~ map (map $ first tran)
|
||||
tran (V3 a b c) = V3 (a+x) (b+y) c
|
||||
|
||||
rotateXY :: Float -> Polyhedra -> Polyhedra
|
||||
rotateXY a = over pyFaces $ map $ map $ first $ rotate3 a
|
||||
rotateXY = over pyFaces . map . map . first . rotate3z
|
||||
|
||||
constructEdges :: [[Point3]] -> [(Point3,Point3,Point3,Point3)]
|
||||
constructEdges (face:faces) = mapMaybe (findReverseEdge otherEdges) (faceEdges face)
|
||||
|
||||
Reference in New Issue
Block a user