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