We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94b767 commit 8498e70Copy full SHA for 8498e70
examples/lazyfoo/Lesson12.hs
@@ -83,9 +83,9 @@ main = do
83
SDL.ScancodeQ -> Sum (V3 32 0 0)
84
SDL.ScancodeW -> Sum (V3 0 32 0)
85
SDL.ScancodeE -> Sum (V3 0 0 32)
86
- SDL.ScancodeA -> Sum (V3 (-32) 0 0)
87
- SDL.ScancodeS -> Sum (V3 0 (-32) 0)
88
- SDL.ScancodeD -> Sum (V3 0 0 (-32))
+ SDL.ScancodeA -> Sum (V3 224 0 0)
+ SDL.ScancodeS -> Sum (V3 0 224 0)
+ SDL.ScancodeD -> Sum (V3 0 0 224)
89
_ -> mempty
90
| otherwise -> mempty
91
_ -> mempty) $
0 commit comments