Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Fix hit box of scaled sprites#254

Merged
aevyrie merged 5 commits into
aevyrie:mainfrom
hmeine:scaled_sprites
Oct 4, 2023
Merged

Fix hit box of scaled sprites#254
aevyrie merged 5 commits into
aevyrie:mainfrom
hmeine:scaled_sprites

Conversation

@hmeine

@hmeine hmeine commented Sep 16, 2023

Copy link
Copy Markdown
Contributor

We want to take into account not only the translation part of the global transform, but also the scaling. At the moment, rotations are still not dealt with.

I am also not sure how performant the to_scale_rotation_translation() method is. (I think a different API could be faster, because we do not really need the decomposition.)

This should fix issue #234.

We want to take into account not only the translation part of the global
transform, but also the scaling.  At the moment, rotations are still not
dealt with.

I am also not sure how performant the `to_scale_rotation_translation()`
method is.  (I think a different API could be faster, because we do not
really need the decomposition.)
@aevyrie

aevyrie commented Oct 4, 2023

Copy link
Copy Markdown
Owner

Excellent, thank you!

@aevyrie aevyrie merged commit 58b2a98 into aevyrie:main Oct 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants