Add code for determining item orientation
This commit is contained in:
@@ -8,6 +8,8 @@ module Dodge.Data.ComposedItem where
|
||||
import Dodge.Data.AmmoType
|
||||
import Control.Lens
|
||||
import Dodge.Data.Item
|
||||
import Linear
|
||||
import qualified Linear.Quaternion as Q
|
||||
|
||||
data ItemLink
|
||||
= AmmoInLink Int AmmoType
|
||||
@@ -64,4 +66,6 @@ data ItemStructuralFunction
|
||||
|
||||
type CItem = (Item, ItemStructuralFunction)
|
||||
|
||||
type OItem = (Item, ItemStructuralFunction, (V3 Float,Q.Quaternion Float))
|
||||
|
||||
makeLenses ''ItemLink
|
||||
|
||||
Reference in New Issue
Block a user