1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2024-02-23 08:15:13 +01:00
parent f7a81cafd5
commit e0ff4529b6

View File

@ -12,13 +12,12 @@
*/
#include <QtEndian>
#include <QtMath>
#include <QDir>
#include <QFile>
#include <QRegularExpression>
#include <QLocale>
#include <private/qzipreader_p.h>
#include "common/rectc.h"
#include "rectc.h"
#include "dem.h"
#define SRTM3_SAMPLES 1201
@ -131,7 +130,7 @@ double DEM::elevation(const Coordinates &c)
if (_dir.isEmpty())
return NAN;
Tile tile(qFloor(c.lon()), qFloor(c.lat()));
Tile tile(floor(c.lon()), floor(c.lat()));
QByteArray *ba = _data.object(tile);
double ele;