Use ammo positions to draw magazines and bullets

This commit is contained in:
2023-01-13 15:44:12 +00:00
parent 4f00041680
commit 60943953a6
2 changed files with 94 additions and 51 deletions
+1 -1
View File
@@ -7,6 +7,6 @@ import Geometry.Data
data AmmoPosition
= Magazine {_amposPos :: Point3, _amposDir :: Quaternion Float}
| Bullets {_amPosDirs :: [(Point3,Point3)]}
| Bullets {_amPosDirs :: [(Point3,Quaternion Float)]}
| NoAmmoPosition
makeLenses ''AmmoPosition