Redo shape vertices as a list, should allow for mirroring
This commit is contained in:
+3
-2
@@ -28,8 +28,8 @@ shVfromList = id
|
||||
shEfromList = id
|
||||
|
||||
data ShapeObj = ShapeObj
|
||||
{ _shType :: ShapeType
|
||||
, _shVs :: Stream (Of ShapeV) IO ()
|
||||
{ _shType :: ShapeType
|
||||
, _shVs :: [ShapeV]
|
||||
}
|
||||
deriving ()
|
||||
|
||||
@@ -46,3 +46,4 @@ pairToSV :: (Point3,Point4) -> ShapeV
|
||||
{-# INLINE pairToSV #-}
|
||||
pairToSV = uncurry ShapeV
|
||||
makeLenses ''ShapeV
|
||||
makeLenses ''ShapeObj
|
||||
|
||||
Reference in New Issue
Block a user