mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-09 13:21:51 +09:00
gradle migration 1
This commit is contained in:
@@ -234,7 +234,7 @@ public class AppLoader implements ApplicationListener {
|
||||
}
|
||||
|
||||
// nested FBOs are just not a thing in GL!
|
||||
FrameBufferManager.end();
|
||||
net.torvald.terrarum.FrameBufferManager.end();
|
||||
|
||||
PostProcessor.INSTANCE.draw(camera.combined, renderFBO);
|
||||
|
||||
|
||||
20
src/net/torvald/terrarum/tests/TestWorldTime.kt
Normal file
20
src/net/torvald/terrarum/tests/TestWorldTime.kt
Normal file
@@ -0,0 +1,20 @@
|
||||
package net.torvald.terrarum.tests
|
||||
|
||||
import net.torvald.terrarum.modulebasegame.gameworld.WorldTime
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2018-12-02.
|
||||
*/
|
||||
class TestWorldTime {
|
||||
|
||||
val time = WorldTime(WorldTime.DAY_LENGTH * 118L + 86398)
|
||||
|
||||
//@Test
|
||||
fun testEndOfYear() {
|
||||
repeat(3) {
|
||||
println(time.getShortTime())
|
||||
time.addTime(1)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -37,6 +37,9 @@ import kotlin.system.measureNanoTime
|
||||
* own ingame renderer
|
||||
*/
|
||||
object LightmapRenderer {
|
||||
|
||||
// FIXME lightmap shifts to left, ONLY AT x=33.5-34.5
|
||||
|
||||
private lateinit var world: GameWorld
|
||||
|
||||
/** do not call this yourself! Let your game renderer handle this! */
|
||||
|
||||
Reference in New Issue
Block a user