summaryrefslogtreecommitdiff
path: root/src/vk/sprite.cpp
AgeCommit message (Collapse)Author
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.
2023-01-06refa Use Push constants for sprites and rectanglesFrederico Linhares
2022-12-23refa Merge Rectangle into Vector4DFrederico Linhares
2022-11-09feat create method Rectangle#drawFrederico Linhares
2022-09-08refa Move layouts away from graphics pipelinesFrederico Linhares
2022-08-31feat Add projection to 2D graphics pipelineFrederico Linhares
2022-08-30feat Create 2d graphics pipelineFrederico Linhares