Tweak two handed item held position

This commit is contained in:
2023-01-02 11:13:47 +00:00
parent 8838d1120b
commit f3b14f9a22
7 changed files with 39 additions and 32 deletions
+11 -11
View File
@@ -13,18 +13,18 @@ import Geometry.Data
data ItemDimension = ItemDimension
{ _dimRad :: Float
, _dimCenter :: Point3
, _dimAttachPos :: Point3
, _dimAttachPos :: Point3 -- should be attachmentpos
}
deriving (Eq, Show, Read) --Generic, Flat)
data ItemPortage
= HeldItem
{ _handlePos :: Float
, _muzPos :: Float
}
| WornItem
| NoPortage
deriving (Eq, Show, Read) --Generic, Flat)
--data ItemPortage
-- = HeldItem
-- { _handlePos :: Float
-- , _muzPos :: Float
-- }
-- | WornItem
-- | NoPortage
-- deriving (Eq, Show, Read) --Generic, Flat)
--data ItemValue = ItemValue
-- { _ivInt :: Int
@@ -36,9 +36,9 @@ data ItemPortage
-- deriving (Eq, Show, Read) --Generic, Flat)
makeLenses ''ItemDimension
makeLenses ''ItemPortage
--makeLenses ''ItemPortage
--makeLenses ''ItemValue
deriveJSON defaultOptions ''ItemDimension
deriveJSON defaultOptions ''ItemPortage
--deriveJSON defaultOptions ''ItemPortage
--deriveJSON defaultOptions ''ItemValue
--deriveJSON defaultOptions ''ItemValueType