summaryrefslogtreecommitdiff
path: root/src/texture.cpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2023-05-29 10:54:59 -0300
committerFrederico Linhares <fred@linhares.blue>2023-05-29 16:04:16 -0300
commit7f7515f22517509fb93ee1615c72006dca6abb03 (patch)
tree2799565116c209ff057809494e4b9eb0e90ec279 /src/texture.cpp
parentb8614162cdbb3817a7a58ceadf8b6b0d05fae952 (diff)
refa Sprite receives floats instead of Vector4D
* 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.
Diffstat (limited to 'src/texture.cpp')
0 files changed, 0 insertions, 0 deletions