Skip to content

Commit 7233a3c

Browse files
committed
(1.8.9) fix waypoint name display positioning
1 parent fa269f6 commit 7233a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1.8.9/src/main/java/io/github/axolotlclient/waypoints/waypoints/WaypointRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private void renderWaypoint(Waypoint waypoint, float tick, Entity camera, List<R
252252
var vec = new Matrix4f();
253253
var camRot = new Quaternionf()
254254
.rotationYXZ(-dispatcher.cameraYaw * (float) (Math.PI / 180.0), dispatcher.cameraPitch * (float) (Math.PI / 180.0), 0.0F)
255-
.rotateY((float) -(Math.PI));
255+
.rotateY((float) -(Math.PI)).invert();
256256
vec.rotate(camRot.invert(new Quaternionf()));
257257
vec.translate(orthoOffset.x(), orthoOffset.y(), 0);
258258
vec.rotate(camRot);

0 commit comments

Comments
 (0)