Make projectile use 3d position/velocity records
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user