Refactored osmp
This commit is contained in:
parent
87046f5d18
commit
569812c0a5
14 changed files with 171 additions and 92 deletions
|
@ -10,7 +10,7 @@ struct SDL_Renderer;
|
|||
class Multipolygon
|
||||
{
|
||||
public:
|
||||
Multipolygon(const std::shared_ptr<osmp::Relation>& relation, int width, int height, osmp::Bounds bounds);
|
||||
Multipolygon(const osmp::Relation& relation, int width, int height, const osmp::Bounds& bounds);
|
||||
|
||||
void SetColor(int r, int g, int b);
|
||||
void Draw(SDL_Renderer* renderer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue