Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -3,11 +3,14 @@
|
||||
|
||||
module Picture.Data where
|
||||
|
||||
import LinearHelp
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import Geometry.Data
|
||||
import Streaming
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data Verx = Verx
|
||||
{ _vxPos :: !Point3
|
||||
@@ -88,3 +91,6 @@ makeLenses ''Verx
|
||||
deriveJSON defaultOptions ''Verx
|
||||
deriveJSON defaultOptions ''Layer
|
||||
deriveJSON defaultOptions ''ShadNum
|
||||
$($(derive [d| instance Deriving (Store Verx) |]))
|
||||
$($(derive [d| instance Deriving (Store Layer) |]))
|
||||
$($(derive [d| instance Deriving (Store ShadNum) |]))
|
||||
|
||||
Reference in New Issue
Block a user