Commit graph

2 commits

Author SHA1 Message Date
bfd33102d1 Squashed basically all the compile bugs in UISprite, but UIEntity and UIGrid use textures as well, so they need to be fixed too before the project will build again 2024-03-16 14:52:35 -04:00
47d0e34a17 Initial PyTexture class
no testing done.
should enable rectangular (non-square) textures

"sprite" method; let's just overwrite sprites with texture coords
Hoping to replace awful code like:
`self->data->sprite.sprite.setTextureRect(self->data->sprite.itex->spriteCoordinates(val));`

with something like:
`self->data->sprite = self->data->texture->sprite(val);`
2024-03-16 11:31:39 -04:00