mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 16:49:21 +02:00
The Geoportal images arrive with their first row at the north edge, which is the opposite of what the default texture coordinates assume - the vertical ones are now swapped, for the picker's base map and the orthophoto alike. With the real map carrying its own detail as the view zooms in, the drawn city markers had nothing to add and are gone, along with the coordinate table behind them. Only the country's extent remains, to open the picker on. -editor no longer inherits the scenery named in eu07.ini. That is whatever was last driven, which has nothing to do with editing; without an explicit -s the editor opens on empty ground.
22 lines
527 B
C++
22 lines
527 B
C++
/*
|
|
This Source Code Form is subject to the
|
|
terms of the Mozilla Public License, v.
|
|
2.0. If a copy of the MPL was not
|
|
distributed with this file, You can
|
|
obtain one at
|
|
http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <glm/glm.hpp>
|
|
|
|
namespace editor
|
|
{
|
|
|
|
// the whole country's extent in EPSG:2180 metres, as the opening view of a location picker. from
|
|
// there the base map itself carries the detail, so nothing else has to be drawn on top of it
|
|
void poland_extent(glm::dvec2 &Min, glm::dvec2 &Max);
|
|
|
|
} // namespace editor
|