Start making projectile update function rather than folded list
This commit is contained in:
@@ -46,10 +46,10 @@ drawFlamelet pt =
|
||||
( mixColors
|
||||
(fromIntegral (max 0 (time -2)))
|
||||
(10 - fromIntegral time)
|
||||
(V4 2 0 0 1)
|
||||
(V4 2 0 0 1)
|
||||
--(V4 2 0 0 1)
|
||||
--(V4 2 0 0 0)
|
||||
--(V4 2 0 0 1)
|
||||
(V4 2 0 0 1)
|
||||
(V4 2 0 0 0)
|
||||
)
|
||||
. rotate (negate (rot - 0.1 * fromIntegral time))
|
||||
. scale s1 s1
|
||||
@@ -62,10 +62,10 @@ drawFlamelet pt =
|
||||
( mixColors
|
||||
(fromIntegral (max 0 (time -2)))
|
||||
(10 - fromIntegral time)
|
||||
(V4 2 1 0 1)
|
||||
(V4 0 0 0 1)
|
||||
--(V4 2 1 0 0.5)
|
||||
--(V4 0 0 0 0)
|
||||
--(V4 2 1 0 1)
|
||||
--(V4 0 0 0 1)
|
||||
(V4 2 1 0 0.5)
|
||||
(V4 0 0 0 0)
|
||||
)
|
||||
. rotate (negate (rot + 0.2 * fromIntegral time))
|
||||
. scale s2 s2
|
||||
|
||||
Reference in New Issue
Block a user