libdragon icon indicating copy to clipboard operation
libdragon copied to clipboard

Adding function to enable changing S and T

Open stefanmielke opened this issue 3 years ago • 1 comments

This enables users to draw only parts of a texture by changing the S and T of the texture coordinates.

Should help drawing tilesets (can have up to 32 tiles using 8x8 on 16bits).

Also added example on the spritemap example ROM.

stefanmielke avatar Jan 04 '22 23:01 stefanmielke

Hi Stefan, we're working a bit on the rdp.c API as part of the new RSP queue engine. I'd like to keep this on hold until we finish that work as we will have a better picture of this module. There's nothing inherently wrong in this PR, it makes sense, but before adding more public APIs that we need to maintain, I'd rather understand the module better. Thanks for the patience.

rasky avatar Jan 23 '22 10:01 rasky

Closing this PR, as the unstable branch contains a different new library (rdpq). that supersedes rdp.c and includes many more functionalities, included this one. As we're readying to merge that, it doesn't make sense to accept new APIs for rdp.c

rasky avatar Jan 30 '23 23:01 rasky