summaryrefslogtreecommitdiff
path: root/src/vk/sprite.hpp
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-08-30feat Create 2d graphics pipelineFrederico Linhares