Use V2 instead of tuples and rename 'sceneAnimation' to 'scene'. (#165)

This commit is contained in:
David Himmelstrup 2020-09-19 22:17:51 +08:00 committed by GitHub
commit d37e71ca94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
68 changed files with 140 additions and 214 deletions

View file

@ -18,7 +18,7 @@ import Geom2D.CubicBezier.Linear
import Text.Printf
main :: IO ()
main = reanimate $ sceneAnimation $ do
main = reanimate $ scene $ do
newSpriteSVG_ $ mkBackgroundPixel rtfdBackgroundColor
newSpriteSVG_ static
dotPath <- newVar (QuadBezier (V2 0 0) (V2 0 0) (V2 0 0))