diff options
author | David Laing <david.laing@nokia.com> | 2012-01-09 08:57:54 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-17 04:51:11 +0100 |
commit | a9506a1c73ada80262157ae4736a16cbc0fcb435 (patch) | |
tree | fffd04f6a3dc565794a1e42673b8d80c3c3eeeaf /src/location/maps/maps.pri | |
parent | b37ebe9cc169b26dc547b8cb709784750a43dc66 (diff) | |
download | qtlocation-a9506a1c73ada80262157ae4736a16cbc0fcb435.tar.gz |
Refactoring ahead of precision issue fixes.
We need to rework the GL geometry and camera positioning code
to avoid problems with arising from the single precision
floats that GL uses.
This change is the first step down this path, which adds
double precision versions of the QVector2/3D classes and
changes the maps code to use them.
It also adds a new class which determines which tiles
will be visible based on the relevant bits of
information from the map (now using double precision).
This was done to force the decoupling of the code which
determines the visible tiles from the details of the
GL geometry / camera / etc...
Change-Id: I7127e39097a92028dfea01d816c14c9b9666569e
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Diffstat (limited to 'src/location/maps/maps.pri')
-rw-r--r-- | src/location/maps/maps.pri | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/location/maps/maps.pri b/src/location/maps/maps.pri index 548b177b..520fb004 100644 --- a/src/location/maps/maps.pri +++ b/src/location/maps/maps.pri @@ -23,7 +23,10 @@ PUBLIC_HEADERS += \ maps/qgeotilespec.h PRIVATE_HEADERS += \ + maps/qdoublevector2d_p.h \ + maps/qdoublevector3d_p.h \ maps/qgeocameradata_p.h \ + maps/qgeocameratiles_p.h \ maps/qgeocodereply_p.h \ maps/qgeocodingmanagerengine_p.h \ maps/qgeocodingmanager_p.h \ @@ -51,7 +54,10 @@ PRIVATE_HEADERS += \ maps/qgeotilespec_p.h SOURCES += \ + maps/qdoublevector2d.cpp \ + maps/qdoublevector3d.cpp \ maps/qgeocameradata.cpp \ + maps/qgeocameratiles.cpp \ maps/qgeocodereply.cpp \ maps/qgeocodingmanager.cpp \ maps/qgeocodingmanagerengine.cpp \ |