Skip to content

Commit ef84f0b

Browse files
committed
fixed uber jar
1 parent e83a519 commit ef84f0b

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ Each line represent a voxel
3030
-1.0 3.0 0.0 0.36666667 0.22855559 0.1364815 1.0
3131
...
3232
```
33+
34+
## Building
35+
```
36+
./gradlew build
37+
```

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ sourceSets {
8787
}
8888

8989
tasks.withType<ShadowJar>().configureEach {
90-
archiveBaseName.set("client-shadow")
90+
archiveBaseName.set("sve-shadow")
9191
mergeServiceFiles()
9292
from(sourceSets.main.get().output)
9393
configurations = listOf(project.configurations.runtimeClasspath.get())

src/main/kotlin/dev/blackoutburst/sve/graphics/Text.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Text(var x: Float, var y: Float, var size: Float = 16f, var text: String,
7878

7979
private var model = Matrix()
8080

81-
private val texture = Texture("./ascii.png")
81+
private val texture = Texture("ascii.png")
8282
private val vertexShader = Shader(GL_VERTEX_SHADER, "/shaders/text.vert")
8383
private val fragmentShader = Shader(GL_FRAGMENT_SHADER, "/shaders/text.frag")
8484
private val shaderProgram = ShaderProgram(vertexShader, fragmentShader)

0 commit comments

Comments
 (0)