1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-26 19:19:16 +02:00

Render lights merged with the root objects, not as separate objects

This commit is contained in:
2023-03-22 00:41:03 +01:00
parent 048198dfe1
commit 416bd3472f
6 changed files with 72 additions and 33 deletions

View File

@ -38,6 +38,15 @@ inline bool operator==(const Coordinates &c1, const Coordinates &c2)
{return (c1.lat() == c2.lat() && c1.lon() == c2.lon());}
inline bool operator!=(const Coordinates &c1, const Coordinates &c2)
{return !(c1 == c2);}
inline bool operator<(const Coordinates &c1, const Coordinates &c2)
{
if (c1.lon() < c2.lon())
return true;
else if (c1.lon() > c2.lon())
return false;
else
return (c1.lat() < c2.lat());
}
#ifndef QT_NO_DEBUG
QDebug operator<<(QDebug dbg, const Coordinates &c);