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
+1 -1
View File
@@ -163,7 +163,7 @@ const std::shared_ptr< RenderObject > &Scene::leftmost() {
const std::shared_ptr< RenderObject > &Scene::rightmost() {
return rightmost_obj;
}
std::pair< int, int > Scene::getDimensions() const {
Vec2D<int> Scene::getDimensions() const {
return renderer->getDimensions();
}
int Scene::getWidth() const {