SDLPP: Renderer/Scene - use Vec2D instead of std::pair
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user