summaryrefslogtreecommitdiff
path: root/src/sprite.cpp
AgeCommit message (Collapse)Author
2024-05-08refa Rename graphical engine to BluCatFrederico Linhares
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.
2023-05-29refa Sprite receives floats instead of Vector4DFrederico Linhares
* lib/menu.rb: Uses the new interface for Sprite. * src/sprite.cpp (Sprite#new, Sprite#draw): By requiring a Vector4D as an argument, sometimes the code calling a Sprite method needs to instantiate a Vector4D and use the stance once. The functions now require four float variables to eliminate this unnecessary instantiation.
2022-12-23refa Merge Rectangle into Vector4DFrederico Linhares
2022-11-09feat create method Rectangle#drawFrederico Linhares
2022-09-21feat Create View2DFrederico Linhares
2022-09-16feat Create ViewFrederico Linhares
2022-09-08feat Create Vector4DFrederico Linhares
2022-08-30feat Create 2d graphics pipelineFrederico Linhares