Skip to content

Commit

Permalink
Fix text rotation to face the camera
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 committed Jun 24, 2024
1 parent c1631ab commit 2b88a81
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public static void renderText(WorldRenderContext context, OrderedText text, Vec3

matrices.push();
matrices.translate(pos.getX() - camera.getX(), pos.getY() - camera.getY(), pos.getZ() - camera.getZ());
matrices.peek().getPositionMatrix().mul(RenderSystem.getModelViewMatrix());
matrices.multiply(context.camera().getRotation());
matrices.scale(scale, -scale, scale);

Expand Down

0 comments on commit 2b88a81

Please sign in to comment.