Make projectile use 3d position/velocity records

This commit is contained in:
2025-08-04 12:15:42 +01:00
parent 80d6133fd6
commit 7714e2e298
7 changed files with 80 additions and 84 deletions
+3 -2
View File
@@ -21,8 +21,9 @@ drawProjectile pj
drawShell :: Maybe Color -> Projectile -> SPic
drawShell mcol pj =
translateSPz (_pjZ pj)
. uncurryV translateSPxy (_pjPos pj)
-- translateSPz (_pjZ pj)
-- . uncurryV translateSPxy (_pjPos pj)
translateSP (pj ^. pjPos)
$ rotateSP (_pjDir pj) $
shellShape :!: thelight
where