Skip to content

Commit

Permalink
fix #88
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Aug 7, 2022
1 parent edf88a5 commit 3df5d6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private void renderSide(Matrix4f matrix, VertexConsumer vertex, int height, floa

for (int i = 0; i <= times; i++) {
float segment = Math.min(TEXTURE_HEIGHT, height - i * TEXTURE_HEIGHT);
float offset = i * TEXTURE_HEIGHT * 1F;
float offset = i * TEXTURE_HEIGHT * -1F;

float maxU = segment / TEXTURE_HEIGHT;

Expand Down

0 comments on commit 3df5d6a

Please sign in to comment.