Start simplifying buttons
This commit is contained in:
+1
-2
@@ -774,8 +774,7 @@ updateDust w c
|
||||
& dsVel .~ newvel
|
||||
& dsTimer -~ 1
|
||||
where
|
||||
springvel = foldl' (dustSpringVel c) (_dsVel c) (dssNearPoint oldPos2 w)
|
||||
v@(V3 _ _ vz) = springvel
|
||||
v@(V3 _ _ vz) = foldl' (dustSpringVel c) (_dsVel c) (dssNearPoint oldPos2 w)
|
||||
newvel = 0.95 * (maybe v (addZ vz . snd) hitWl - V3 0 0 0.05)
|
||||
oldPos = _dsPos c
|
||||
oldPos2 = stripZ oldPos
|
||||
|
||||
Reference in New Issue
Block a user