SDLPP: Renderer/Scene - use Vec2D instead of std::pair

This commit is contained in:
2021-03-15 14:37:53 +01:00
parent aaae85a932
commit 6ecdb6d90d
4 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include "sdlpp_common.hpp"
#include "sdlpp_window.hpp"
#include "sdlpp_vector.hpp"
#include <iostream>
@@ -13,7 +14,7 @@ public:
Renderer( Window &window );
virtual ~Renderer();
SDL_Renderer *getRendererPtr();
std::pair< int, int > getDimensions() const;
Vec2D<int> getDimensions() const;
int getWidth() const;
int getHeight() const;
int getSmallerSide() const;