Globally assign attachment orientations

This commit is contained in:
2025-06-26 20:59:38 +01:00
parent 494c7a4f89
commit 758c0aeec8
4 changed files with 10 additions and 10 deletions
+2 -3
View File
@@ -9,8 +9,6 @@ import Dodge.Data.AmmoType
import Dodge.Data.DoubleTree
import Control.Lens
import Dodge.Data.Item
import Geometry.Data
import Linear.Quaternion (Quaternion (..))
data CLinkType
= AmmoInLink Int AmmoType
@@ -69,7 +67,8 @@ type CItem = (Item, ItemStructuralFunction, LinkTest)
data ItemLink = ILink
{ _iatType :: CLinkType
, _iatOrient :: Item -> CLinkType -> Item -> (Point3, Quaternion Float)
-- , _iatOrient :: Item -> CLinkType -> Item -> (Point3, Quaternion Float)
-- , _iatOrient :: Item -> CLinkType -> (Point3, Quaternion Float)
}
-- this should possibly use a full item structure tree rather than a