Tweak lasers
This commit is contained in:
+2
-2
@@ -702,7 +702,7 @@ updatePulseLaser pz = case pz ^. pzTimer of
|
||||
where
|
||||
f w =
|
||||
dodam thHit w
|
||||
& cWorld . lWorld . flares <>~ drawLaser cyan (sp : ps)
|
||||
& cWorld . lWorld . flares <>~ drawPulseLaser (sp : ps)
|
||||
where
|
||||
(thHit, ps) = reflectPulseLaserAlong phasev sp xp w
|
||||
dodam thit = case thit of
|
||||
@@ -721,7 +721,7 @@ updatePulseLaser pz = case pz ^. pzTimer of
|
||||
sp = _pzPos pz
|
||||
dir = _pzDir pz
|
||||
xp = sp +.+ 800 *.* unitVectorAtAngle dir
|
||||
g w = w & cWorld . lWorld . flares <>~ drawLaser cyan (sp : ps)
|
||||
g w = w & cWorld . lWorld . flares <>~ drawPulseLaser (sp : ps)
|
||||
where
|
||||
(_, ps) = reflectPulseLaserAlong phasev sp xp w
|
||||
|
||||
|
||||
Reference in New Issue
Block a user