Skip to content

Commit

Permalink
fixed uber jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackoutburst committed Aug 16, 2024
1 parent e83a519 commit ef84f0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ Each line represent a voxel
-1.0 3.0 0.0 0.36666667 0.22855559 0.1364815 1.0
...
```

## Building
```
./gradlew build
```
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ sourceSets {
}

tasks.withType<ShadowJar>().configureEach {
archiveBaseName.set("client-shadow")
archiveBaseName.set("sve-shadow")
mergeServiceFiles()
from(sourceSets.main.get().output)
configurations = listOf(project.configurations.runtimeClasspath.get())
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/blackoutburst/sve/graphics/Text.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Text(var x: Float, var y: Float, var size: Float = 16f, var text: String,

private var model = Matrix()

private val texture = Texture("./ascii.png")
private val texture = Texture("ascii.png")
private val vertexShader = Shader(GL_VERTEX_SHADER, "/shaders/text.vert")
private val fragmentShader = Shader(GL_FRAGMENT_SHADER, "/shaders/text.frag")
private val shaderProgram = ShaderProgram(vertexShader, fragmentShader)
Expand Down

0 comments on commit ef84f0b

Please sign in to comment.