From 714c13e966395fd42fe82977beba99cca073697e Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 3 Feb 2022 14:30:41 +0700 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82=20=D0=B2=D1=8B=D1=80?= =?UTF-8?q?=D0=B5=D0=B7=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/ru/dbotthepony/kstarbound/Main.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/Main.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/Main.kt index d80660af..ac8970a1 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/Main.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/Main.kt @@ -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) {