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

Closed
shunter opened this issue Aug 27, 2014 · 4 comments · Fixed by #12495
Closed

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

shunter opened this issue Aug 27, 2014 · 4 comments · Fixed by #12495

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.

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