gpu rendered light wip

This commit is contained in:
minjaesong
2019-01-29 02:21:22 +09:00
parent 465ed0d7a4
commit cd1ad9277a
9 changed files with 440 additions and 176 deletions

View File

@@ -529,7 +529,7 @@ class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
while (updateDeltaCounter >= updateRate) {
//updateGame(delta)
AppLoader.debugTimers["Ingame.update"] = measureNanoTime { updateGame(delta) }
AppLoader.measureDebugTime("Ingame.update") { updateGame(delta) }
updateDeltaCounter -= updateRate
updateTries++
@@ -544,7 +544,7 @@ class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
/** RENDER CODE GOES HERE */
//renderGame(batch)
AppLoader.debugTimers["Ingame.render"] = measureNanoTime { renderGame(batch) }
AppLoader.measureDebugTime("Ingame.render") { renderGame(batch) }
}
protected fun updateGame(delta: Float) {