summaryrefslogtreecommitdiff
path: root/src/vk/sprite_to_draw.cpp
AgeCommit message (Collapse)Author
2023-06-17feat Add z index when rendering spritesFrederico Linhares
* src/sprite.cpp: Add a new parameter to sprites to define the z index of the image being rendered. * src/vk/graphics_pipeline_2d_solid.cpp: Sort may not be the most efficient algorithm, but it is easier to implement. If this code becomes slow, it can be optimized with little or no changes to the Ruby interface.