Compare commits
2 commits
main
...
performanc
Author | SHA1 | Date | |
---|---|---|---|
83ae6f8283 | |||
ca42096099 |
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ frameOverlap :: Int
|
||||||
frameOverlap = 2
|
frameOverlap = 2
|
||||||
|
|
||||||
maxObjects :: Int
|
maxObjects :: Int
|
||||||
maxObjects = 10000
|
maxObjects = 10 ^ 6
|
||||||
|
|
||||||
createFrames
|
createFrames
|
||||||
:: (MonadResource m, MonadFail m)
|
:: (MonadResource m, MonadFail m)
|
||||||
|
|
|
@ -218,9 +218,9 @@ initScene device descriptorPool texturedSetLayout = do
|
||||||
, objectMatrix = translationMatrix !*! scaleMatrix
|
, objectMatrix = translationMatrix !*! scaleMatrix
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
(V.fromList [-20 .. 20])
|
(V.fromList [-50 .. 50])
|
||||||
)
|
)
|
||||||
(V.fromList [-20 .. 20])
|
(V.fromList [-50 .. 50])
|
||||||
|
|
||||||
renderableContainer <- asks renderables
|
renderableContainer <- asks renderables
|
||||||
renderableVector <- liftIO $ STM.atomically $ STM.readTMVar renderableContainer
|
renderableVector <- liftIO $ STM.atomically $ STM.readTMVar renderableContainer
|
||||||
|
|
Loading…
Reference in a new issue