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

replace deprecated math classes with joml #200

Open
wants to merge 21 commits into
base: Multiloader-1.20
Choose a base branch
from

Conversation

NicBOMB
Copy link

@NicBOMB NicBOMB commented Oct 23, 2023

replacing PR #188 since I changed both the target and fork's branch.

@Techjar
Copy link
Collaborator

Techjar commented Oct 23, 2023

This touches a lot of stuff, definitely needs thorough testing.

@@ -1250,7 +1248,7 @@ void onOptionChange() {

@Override
String getDisplayString(String prefix, Object value) {
return prefix + String.format("%.0f" + DEGREE, (float) value);
return prefix + String.format("%.0f°", (float) value);
Copy link
Collaborator

@Techjar Techjar Oct 29, 2023

Choose a reason for hiding this comment

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

Any reason for changing this? Minecraft renders the degree symbol just fine, and it takes up less space.

Please ignore, I read the diff incorrectly.

@NicBOMB NicBOMB force-pushed the joml branch 2 times, most recently from 9311bec to 2a37df1 Compare November 13, 2023 00:19
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.

2 participants