-
Notifications
You must be signed in to change notification settings - Fork 10
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
Better Mouse Position Unprojection #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and it works with Angelica good job
Btw was the old code tested with newest Angelica? If it's still broken, that's still an Angelica bug - this would just be a workaround/different implementation, but we'd definitely want to figure out what's broken in Angelica too. |
I tested it with Alpha 43 yesterday and the issue was still there. I'm not sure how useful it is but I wrote some stuff here GTNewHorizons/Angelica#383 when I tested it with Alpha 42 a few days ago. |
* add support for non-gt multis * bs+deps * move stuff into relevant package * deobfParams * spotlessApply (#15) * remove double dep * small cleanup * this has no uses and not touched for 2 years * not needed * address reviews * unproject mouse position without OpenGL --------- Co-authored-by: Lyfts <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 064f7bf)
Fixes GTNewHorizons/Angelica#383 by not using OpenGL to unproject position.
I also removed some unused clutter.
Codes are from my newer project:
https://github.com/Quarri6343/OpenARPG/blob/b2d6ef09bf639cf77a2ac24082d0bccb3a015c0b/src/main/java/quarri6343/openarpg/ProjectionUtil.java#L69-L99