Skip to content

Take sf::Sprite's transform into account in ImGui::Image overload for sf::Sprite #87

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

Closed
eliasdaler opened this issue May 29, 2019 · 1 comment

Comments

@eliasdaler
Copy link
Contributor

Right now sprite scale/rotation, etc. are ignored when drawing with ImGui::Image. However, this can be fixed by following this: ocornut/imgui#1982

(Will need to compute where vertices of sf::Sprite are using its transform)

Related to #86

@eliasdaler
Copy link
Contributor Author

I feel like ignoring rotation/scale etc. of sf::Sprite is a right thing to do, since trying to handle all transforms inside this overload introduces a lot of complexity into ImGui-SFML.

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

No branches or pull requests

1 participant