removed debug-print
This commit is contained in:
parent
ffc0281ab4
commit
dba5c9d809
@ -248,7 +248,7 @@ run = do
|
|||||||
now' <- getCurrentTime
|
now' <- getCurrentTime
|
||||||
return (now',tessChange,sleepAmount,ddiff)
|
return (now',tessChange,sleepAmount,ddiff)
|
||||||
-- set state with new clock-time
|
-- set state with new clock-time
|
||||||
liftIO $ putStrLn $ unwords ["clockFactor:",show (state ^. io.tessClockFactor),"\ttc:", show (tc (state ^. gl.glMap.stateTessellationFactor)),"\tsleep ",show frameTime,"ms"]
|
--liftIO $ putStrLn $ unwords ["clockFactor:",show (state ^. io.tessClockFactor),"\ttc:", show (tc (state ^. gl.glMap.stateTessellationFactor)),"\tsleep ",show frameTime,"ms"]
|
||||||
modify $ (io.clock .~ mt)
|
modify $ (io.clock .~ mt)
|
||||||
. (gl.glMap.stateTessellationFactor %~ tc)
|
. (gl.glMap.stateTessellationFactor %~ tc)
|
||||||
. (io.tessClockFactor %~ (((+) frameTime).((*) 0.99)))
|
. (io.tessClockFactor %~ (((+) frameTime).((*) 0.99)))
|
||||||
|
Loading…
Reference in New Issue
Block a user