Cleanup
This commit is contained in:
@@ -58,7 +58,7 @@ fallSmallBounce' w pr
|
||||
velz = _pjVelZ pr
|
||||
vel = _pjVel pr
|
||||
pos = _prPos pr
|
||||
updateWithVel v = case reflectPointWallsDamp (const True) 0.5 pos (pos + v) w of
|
||||
updateWithVel v = case bouncePoint (const True) 0.5 pos (pos + v) w of
|
||||
Nothing -> prPos +~ v
|
||||
Just (p,v') -> (prPos .~ p) . (pjVel .~ v')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user