Untitled

 avatar
unknown
plain_text
a year ago
293 B
2
Indexable
      stepWorld :: Float -> DTime -> IO DTime
      stepWorld delta timeAcc
          | delta' > 0 = react handle (delta', Just NoEvent) >> return 0.0
          | otherwise  = return (-delta')
        where
          -- delta' = realToFrac delta - timeAcc
          delta' = 200000 -- speed up
Leave a Comment