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

TextureAtlas should re-use texture coordinates for existing subregions #2094

Open
shunter opened this issue Aug 27, 2014 · 4 comments
Open

Comments

@shunter
Copy link
Contributor

shunter commented Aug 27, 2014

TextureAtlas.addSubRegion allocates a new BoundingRectangle with texture coordinates every time it's called. If coordinates have already been computed for the given image ID and subRegion, the existing coordinates (at the existing index) should be re-used.

@pjcozzi
Copy link
Contributor

pjcozzi commented Nov 3, 2016

CC #172

@markerikson
Copy link
Contributor

Would love to see this worked on during the summer 2017 code sprint! (Also linking for reference: #2319 )

@alberto-acevedo
Copy link

  • 1 to get this finally fixed.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 6, 2017

Thanks for the input! We'll see if someone is interested at the sprint.

@pjcozzi pjcozzi assigned ggetz and unassigned shunter Jun 14, 2017
@ggetz ggetz removed their assignment Jan 27, 2022
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

5 participants