Skip to content

Conversation

jukeliv
Copy link

@jukeliv jukeliv commented Aug 31, 2025

I optimized a bit the triangle drawing, for when they draw with textures :p
all the optimization "tricks" I did are explained in the comments in a more or less detailed manner. I also added a tigr.h backend, but this was just done for testing purposes ( because I work on a windows machine, and I didn't had SDL2 installed rn, and tigr.h is really simple to just plug-and-play ), it can be removed, but the optimization for the uv triangles part is really neat and would be nice if you merged those changes!

Cheers.

@jukeliv
Copy link
Author

jukeliv commented Aug 31, 2025

also, all changes in nob.c file where done just to test the library on my windows machine, they can be deleted if wanted, I just did the pr for the optimization of the triangle drawing.

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

Successfully merging this pull request may close these issues.

1 participant