Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup waypoints #85

Merged
merged 6 commits into from
Jun 20, 2024
Merged

Cleanup waypoints #85

merged 6 commits into from
Jun 20, 2024

Conversation

MicrocontrollersDev
Copy link
Collaborator

Description

This is just really old changes that I was planning on doing more but yeah stuff happened. It OneConfig'ifys NEU's waypoint utils and allows for more customization. Just PRing because I saw this branch still existed and might as well open a PR for it, will probably go through during summer break and clean up more stuff as well.

Related Issue(s)

N/A

How to test

It should be identical visually. Most of it is still kinda of unused (there are few places in Hytils where we need these)

Release Notes

Improve backend Waypoint system

Documentation

@MicrocontrollersDev MicrocontrollersDev marked this pull request as ready for review June 19, 2024 03:07
Copy link
Member

@Wyvest Wyvest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as long as you tested in prod and dev env, you're good

@@ -278,22 +352,24 @@ public static void renderWayPoint(String str, Vector3f loc, float partialTicks)
GlStateManager.translate(x, y, z);
GlStateManager.translate(0, viewer.getEyeHeight(), 0);

renderNametag(str);
OneColor color = new OneColor(-1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this onecolor instance somewhere else so that its not being created every frame this is being drawn

@MicrocontrollersDev
Copy link
Collaborator Author

as long as you tested in prod and dev env, you're good

no issues in my testing

@Wyvest Wyvest merged commit ad81840 into master Jun 20, 2024
1 of 2 checks passed
@Wyvest Wyvest deleted the cleanup-waypoints branch June 20, 2024 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants