mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 06:53:46 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -256,7 +256,7 @@ int main(int argc, char * argv[])
|
||||
GpsInfo const extrapolated = LinearExtrapolation(info1, info2, timeMs);
|
||||
m2::PointD const extrapolatedMerc = mercator::FromLatLon(extrapolated.m_latitude, extrapolated.m_longitude);
|
||||
|
||||
double const kHalfSquareSide = 100.0;
|
||||
double constexpr kHalfSquareSide = 100.0;
|
||||
// |kHalfSquareSide| is chosen based on maximum value of GpsInfo::m_horizontalAccuracy
|
||||
// which is used calculation of projection in production code.
|
||||
m2::RectD const posSquare =
|
||||
|
||||
Reference in New Issue
Block a user