Some linting

This commit is contained in:
jgk
2021-08-10 14:22:33 +02:00
parent 51b8fab214
commit e43488ee17
11 changed files with 65 additions and 95 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import qualified Data.Map as M
-- | Polyhedra are represented as a list of faces.
-- Each face is a list of points (and colours) that are assumed to lie on a plane, and be
-- ordered to form an anticlockwise convex polygon within that plane.
data Polyhedra = Polyhedron
newtype Polyhedra = Polyhedron
{ _pyFaces :: [[(Point3,Point4)]]
}
@@ -19,7 +19,7 @@ data Polyhedra = Polyhedron
-- The vertices of the faces are assumed to start with a point adjacent to the
-- key vertex and to be listed anticlockwise around the center of the face.
-- The key vertex is not included in the list.
data VF a = VF
newtype VF a = VF
{ _vertices :: M.Map a (Point3, [[a]])
}