Move towards being able to orient positions on attached items

This commit is contained in:
2024-10-01 20:13:08 +01:00
parent fa4e117f93
commit 8df6b31062
9 changed files with 61 additions and 199 deletions
+4
View File
@@ -10,6 +10,7 @@ WARNING: orphan instances concerning Aeson classes and Linear.Quaternion datatyp
The warnings have been disabled.
-}
module Quaternion (
qID,
rotateToZ,
vToQuat,
module Linear.Quaternion,
@@ -42,4 +43,7 @@ vToQuat a b
where
cprod = crossProd a b
qID :: Q.Quaternion Float
qID = Q.axisAngle (V3 1 0 0) 0
--deriving instance (Flat a => Flat (Quaternion a))