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

Dont do init transform if you dont need to. #2495

Merged

Conversation

jasonwinterpixel
Copy link
Contributor

init_transform() is expensive!

This PR simply doesnt do it if the bone mode is a no op!

@badlogic badlogic merged commit a73d0bc into EsotericSoftware:4.1 Apr 30, 2024
@badlogic
Copy link
Collaborator

Cheers! I just wonder, in what case would this have any significant impact on a game's performance?

@jasonwinterpixel
Copy link
Contributor Author

We're running our games on mobile web. So when compiled to WASM and running in Chrome on some old android device, I'll take every fraction of a millisecond I can get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants