fix: bg map resolution

This commit is contained in:
Djairo Hougee 2024-05-23 23:14:01 +02:00
parent e53a934212
commit e54501e9e1
1 changed files with 2 additions and 1 deletions

View File

@ -33,10 +33,11 @@ int main() {
auto l = new LGlyphLayer(uvGrid, std::move(kernelRK4BoundaryChecked)); auto l = new LGlyphLayer(uvGrid, std::move(kernelRK4BoundaryChecked));
l->spoofPoints(); l->spoofPoints();
l->setDt(DT); l->setDt(DT);
// TODO: implement feature to call this function on widget
l->cycleGlyphStyle(); l->cycleGlyphStyle();
unique_ptr<Program> program = make_unique<Program>(DT); unique_ptr<Program> program = make_unique<Program>(DT);
program->addLayer(new BackgroundImage(dataPath + "/map_qgis.png")); program->addLayer(new BackgroundImage(dataPath + "/map_qgis_1035.png"));
// program->addLayer(new EGlyphLayer(uvGrid)); // program->addLayer(new EGlyphLayer(uvGrid));
program->addLayer(new EColLayer(uvGrid)); program->addLayer(new EColLayer(uvGrid));
program->addLayer(l); program->addLayer(l);