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

Fix/pixel center #4

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Conversation

backgamon
Copy link
Owner

test merging.

antangelo and others added 2 commits July 27, 2024 13:43
Since screen_pos (and therefore also pixel) are multiplied by the scale factor but the correct subpixel offset is always the same, it was fair to assume that the final subpixel value had to be divided by the scale factor for it to be corrected.

Tested on pgraph tests, Fable: TLC and Halo: CE (weapon zoom in).
@backgamon backgamon merged commit 5637052 into backgamon:Master2 Nov 15, 2024
15 checks passed
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.

3 participants