тест вырезки

This commit is contained in:
DBotThePony 2022-02-03 14:30:41 +07:00
parent 5b03608527
commit 714c13e966
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -8,6 +8,7 @@ import org.lwjgl.glfw.GLFWErrorCallback
import org.lwjgl.opengl.GL46.*
import org.lwjgl.system.MemoryStack.stackPush
import org.lwjgl.system.MemoryUtil.NULL
import ru.dbotthepony.kstarbound.defs.TileDefinition
import ru.dbotthepony.kstarbound.gl.*
import ru.dbotthepony.kstarbound.math.*
import ru.dbotthepony.kstarbound.render.Camera
@ -170,6 +171,12 @@ private fun loop() {
}
}
for (x in 4 .. 8) {
for (y in 4 .. 8) {
chunk.foreground[x, y] = null as TileDefinition?
}
}
/*
for (x in 0 .. 24) {
for (y in 0 .. 24) {