forked from organicmaps/organicmaps
Tweak point and rect precision constants. Makes mwm 25% less. Breaks data format.
Alex promised to test performance :)
This commit is contained in:
parent
564e3460df
commit
9422f45143
4 changed files with 2 additions and 2 deletions
BIN
data/World.mwm
BIN
data/World.mwm
Binary file not shown.
Binary file not shown.
|
@ -9,7 +9,7 @@
|
|||
#include "../base/start_mem_debug.hpp"
|
||||
|
||||
|
||||
#define POINT_COORD_BITS 30
|
||||
#define POINT_COORD_BITS 27
|
||||
|
||||
|
||||
m2::PointU PointD2PointU(CoordT x, CoordT y)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
typedef double CoordT;
|
||||
typedef pair<CoordT, CoordT> CoordPointT;
|
||||
|
||||
typedef m2::CellId<19> RectId;
|
||||
typedef m2::CellId<17> RectId;
|
||||
|
||||
m2::PointU PointD2PointU(CoordT x, CoordT y);
|
||||
CoordPointT PointU2PointD(m2::PointU const & p);
|
||||
|
|
Loading…
Add table
Reference in a new issue