Made chunkloading even faster by removing texture location from EVERY SINGLE BLOCK

This commit is contained in:
2020-04-12 01:16:51 -06:00
parent fabd9bcb82
commit 0a53564650
14 changed files with 423 additions and 31 deletions

View File

@@ -1,3 +1,4 @@
import org.gradle.internal.os.OperatingSystem
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
eclipse.project.name = appName + '-core'
@@ -21,3 +22,33 @@ dependencies {
api "com.underwaterapps.overlap2druntime:overlap2d-runtime-libgdx:$overlap2dVersion"
api "com.github.ykrasik:jaci-libgdx-cli-java:$jaciVersion"
}
dependencies {
switch (OperatingSystem.current()) {
case OperatingSystem.WINDOWS:
ext.lwjglNatives = "natives-windows"
break
case OperatingSystem.LINUX:
ext.lwjglNatives = "natives-linux"
break
case OperatingSystem.MAC_OS:
ext.lwjglNatives = "natives-macos"
break
}
// Look up which modules and versions of LWJGL are required and add setup the approriate natives.
configurations.compile.resolvedConfiguration.getResolvedArtifacts().forEach {
if (it.moduleVersion.id.group == "org.lwjgl") {
runtime "org.lwjgl:${it.moduleVersion.id.name}:${it.moduleVersion.id.version}:${lwjglNatives}"
}
}
implementation 'com.github.kotlin-graphics.imgui:imgui:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-bgfx:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-core:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-gl:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-glfw:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-jogl:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-openjfx:v1.75'
implementation 'com.github.kotlin-graphics.imgui:imgui-vk:v1.75'
}