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

Better Mouse Position Unprojection #16

Merged
merged 12 commits into from
May 6, 2024
Merged

Better Mouse Position Unprojection #16

merged 12 commits into from
May 6, 2024

Conversation

Quarri6343
Copy link
Member

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

@Quarri6343 Quarri6343 requested review from Lyfts and a team May 5, 2024 00:37
Copy link
Member

@Lyfts Lyfts left a 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

@eigenraven
Copy link
Member

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.

@Lyfts
Copy link
Member

Lyfts commented May 6, 2024

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.

@Dream-Master Dream-Master merged commit 064f7bf into master May 6, 2024
1 check passed
@Dream-Master Dream-Master deleted the better-unproject branch May 6, 2024 10:31
Dream-Master pushed a commit that referenced this pull request May 20, 2024
* 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)
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.

Issue with BlockRenderer6343 NEI preview
4 participants