Skip to content

Commit

Permalink
Update CHWaypoints.kt
Browse files Browse the repository at this point in the history
fix scaling numbers

Signed-off-by: songreaver  <[email protected]>
  • Loading branch information
Kemmisch authored Nov 3, 2024
1 parent 7f4d6a4 commit 57b37eb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ object CHWaypoints {

// Rotate about the center to match the player's yaw
stack.rotate((mc.thePlayer.rotationYawHead + 180f) % 360f, 0f, 0f, 1f)
stack.scale(scale*1.5,scale*1.5,scale*1.5)
stack.translate(-0.125f*scale/1.5, 0.125f*scale/1.5, 0.0)
stack.scale(scale,scale,scale)
stack.translate((-0.125f*scale).toDouble(), (0.125f*scale).toDouble(), 0.0)
UGraphics.color4f(1f, 1f, 1f, 1f)
UGraphics.enableAlpha()
val d1 = 0.0
Expand Down Expand Up @@ -404,4 +404,4 @@ object CHWaypoints {
)
}
}
}
}

0 comments on commit 57b37eb

Please sign in to comment.