Skip to content

Commit 784b3c2

Browse files
committed
Add native libs lwjgl to support windows, macosx OS; add support for glsl and renamed .txt -> .glsl
1 parent 8fc1e81 commit 784b3c2

28 files changed

+4
-4
lines changed

.DS_Store

6 KB
Binary file not shown.

GameEngine/.DS_Store

6 KB
Binary file not shown.

GameEngine/lib/.DS_Store

6 KB
Binary file not shown.

GameEngine/lib/natives/.DS_Store

6 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
519 KB
Binary file not shown.
715 KB
Binary file not shown.
381 KB
Binary file not shown.
374 KB
Binary file not shown.
60.5 KB
Binary file not shown.
63.5 KB
Binary file not shown.
58 KB
Binary file not shown.
Binary file not shown.
299 KB
Binary file not shown.
310 KB
Binary file not shown.

GameEngine/src/.DS_Store

6 KB
Binary file not shown.

GameEngine/src/shaders/StaticShader.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class StaticShader : ShaderProgram(VERTEX_FILE, FRAGMENT_FILE) {
5656

5757
companion object {
5858

59-
private const val VERTEX_FILE = "GameEngine/src/shaders/vertexShader.txt"
60-
private const val FRAGMENT_FILE = "GameEngine/src/shaders/fragmentShader.txt"
59+
private const val VERTEX_FILE = "GameEngine/src/shaders/vertexShader.glsl"
60+
private const val FRAGMENT_FILE = "GameEngine/src/shaders/fragmentShader.glsl"
6161
}
6262
}

GameEngine/src/shaders/TerrainShader.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class TerrainShader : ShaderProgram(VERTEX_FILE, FRAGMENT_FILE) {
5757
}
5858

5959
companion object {
60-
private val VERTEX_FILE = "GameEngine/src/shaders/terrainVertexShader.txt"
61-
private val FRAGMENT_FILE = "GameEngine/src/shaders/terrainFragmentShader.txt"
60+
private val VERTEX_FILE = "GameEngine/src/shaders/terrainVertexShader.glsl"
61+
private val FRAGMENT_FILE = "GameEngine/src/shaders/terrainFragmentShader.glsl"
6262
}
6363
}

0 commit comments

Comments
 (0)