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 the odd off-center rotation issue in Danmakufu #81

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Terraformer9x
Copy link

Because Danmakufu uses Direct3D 9, it uses texels instead of pixels in it's coordinate system. MKM tried to fix this by applying a 0.5 offset to the vertexes of graphics but this actually causes the graphics to be off-center. This pull-request changes it so the offsets are applied to the actual positions of the graphics and not the vertexes.

This may not be the best way of going about fixing it but I do hope at the very least some insight can be derived from the comparisons in this pull.

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.

1 participant