Allow for multiple distortions at once
This commit is contained in:
@@ -16,8 +16,10 @@ testEvent w = fromMaybe w $ do
|
||||
cpos
|
||||
(V2 distR 0)
|
||||
(V2 0 distR)
|
||||
(V2 2 0)
|
||||
(V2 0 0.5)
|
||||
(V2 0 0)
|
||||
(V2 1 (-1))
|
||||
(V2 1 1)
|
||||
(V2 distR 0)
|
||||
20
|
||||
return $ w & cWorld . lWorld . distortions .~ [distortionBulge]
|
||||
return $ w & cWorld . lWorld . distortions .~ [distortionBulge
|
||||
, distortionBulge & rdPos +~ 50
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user