Skip to content

Commit

Permalink
Fix glyph effect orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Dec 4, 2024
1 parent d03d516 commit 02d84b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ private void drawEffectFast(BakedGlyph.Effect effect, float offset, float depthO
write(ptr, matrix, x1 + offset, h1 + offset, z, color, this.u0, this.v0, light);
ptr += GlyphVertex.STRIDE;

write(ptr, matrix, x1 + offset, h2 + offset, z, color, this.u0, this.v1, light);
write(ptr, matrix, x2 + offset, h1 + offset, z, color, this.u0, this.v1, light);
ptr += GlyphVertex.STRIDE;

write(ptr, matrix, x2 + offset, h2 + offset, z, color, this.u1, this.v1, light);
ptr += GlyphVertex.STRIDE;

write(ptr, matrix, x2 + offset, h1 + offset, z, color, this.u1, this.v0, light);
write(ptr, matrix, x1 + offset, h2 + offset, z, color, this.u1, this.v0, light);
ptr += GlyphVertex.STRIDE;

writer.push(stack, buffer, 4, GlyphVertex.FORMAT);
Expand Down

0 comments on commit 02d84b9

Please sign in to comment.