Tweak muzzle flare
This commit is contained in:
@@ -453,17 +453,14 @@ modClock n chainEff eff it cr w
|
||||
| otherwise = eff it cr w
|
||||
|
||||
withMuzFlareI :: ChainEffect
|
||||
withMuzFlareI f it cr w =
|
||||
withMuzFlareI f it cr =
|
||||
makeTlsTimeRadColPos 2 100 (V3 1 1 0.5) (cpos `v2z` 20)
|
||||
. muzFlareAt (V4 5 5 0 2) (cpos `v2z` 20) cdir
|
||||
$ f it cr w
|
||||
-- makeTlsTimeRadColPos 2 100 (V3 1 1 0.5) flashPos
|
||||
-- . muzFlareAt (V4 5 5 0 2) flarePos cdir
|
||||
-- $ f it cr w
|
||||
-- . muzFlareAt (V4 5 5 0 2) (cpos `v2z` 20) cdir
|
||||
. muzFlareAt (V4 5 5 1 3) (cpos `v2z` 20) cdir
|
||||
. muzFlareAt (V4 5 5 1 3) (cpos `v2z` 20) cdir
|
||||
. muzFlareAt (V4 5 5 1 3) (cpos `v2z` 20) cdir
|
||||
. f it cr
|
||||
where
|
||||
-- flarePos = addZ 0 (_crPos cr) +.+.+ rotate3z cdir (muzzleOffset cr it +.+.+ V3 0 0 20)
|
||||
-- flashPos = addZ 0 (_crPos cr) +.+.+ rotate3z cdir (muzzleOffset cr it +.+.+ V3 5 0 20)
|
||||
-- -- muzzleOffset = V3 (_muzPos (_dimPortage (_itDimension it))) 0 0
|
||||
cdir = _crDir cr
|
||||
cpos = _crPos cr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user