forked from organicmaps/organicmaps
moved LessRectInfo into tile compilation unit.
This commit is contained in:
parent
bbd46391f8
commit
457a8ed689
4 changed files with 11 additions and 10 deletions
|
@ -159,11 +159,6 @@ void ScreenCoverage::Remove(Tile const *)
|
|||
{
|
||||
}
|
||||
|
||||
bool LessRectInfo::operator()(Tile const * l, Tile const * r) const
|
||||
{
|
||||
return l->m_rectInfo < r->m_rectInfo;
|
||||
}
|
||||
|
||||
void ScreenCoverage::SetScreen(ScreenBase const & screen)
|
||||
{
|
||||
m_screen = screen;
|
||||
|
|
|
@ -23,11 +23,6 @@ namespace yg
|
|||
|
||||
class CoverageGenerator;
|
||||
|
||||
struct LessRectInfo
|
||||
{
|
||||
bool operator()(Tile const * l, Tile const * r) const;
|
||||
};
|
||||
|
||||
class ScreenCoverage
|
||||
{
|
||||
private:
|
||||
|
|
|
@ -23,3 +23,8 @@ Tile::Tile(shared_ptr<yg::gl::BaseTexture> const & renderTarget,
|
|||
|
||||
Tile::~Tile()
|
||||
{}
|
||||
|
||||
bool LessRectInfo::operator()(Tile const * l, Tile const * r) const
|
||||
{
|
||||
return l->m_rectInfo < r->m_rectInfo;
|
||||
}
|
||||
|
|
|
@ -36,3 +36,9 @@ struct Tile
|
|||
|
||||
~Tile();
|
||||
};
|
||||
|
||||
struct LessRectInfo
|
||||
{
|
||||
bool operator()(Tile const * l, Tile const * r) const;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue