added c++11 fixes for android
This commit is contained in:
@@ -125,7 +125,7 @@ MainController::MainController() {
|
|||||||
|
|
||||||
//mapModel->load("/apps/paper/diss/data/maps/walkmodel_stairs3.xml");
|
//mapModel->load("/apps/paper/diss/data/maps/walkmodel_stairs3.xml");
|
||||||
|
|
||||||
mapModel->load("/apps/paper/maps/museum/map43_svg.xml");
|
//mapModel->load("/apps/paper/maps/museum/map43_svg.xml");
|
||||||
//mapModel->load("/apps/paper/diss/data/maps/SHL41_nm.xml");
|
//mapModel->load("/apps/paper/diss/data/maps/SHL41_nm.xml");
|
||||||
|
|
||||||
//mapModel->load("/mnt/sdcard/SHL41_nm.xml");
|
//mapModel->load("/mnt/sdcard/SHL41_nm.xml");
|
||||||
|
|||||||
2
main.cpp
2
main.cpp
@@ -3,7 +3,7 @@
|
|||||||
#include "MainController.h"
|
#include "MainController.h"
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
#include <experimental/filesystem>
|
//#include <experimental/filesystem>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
//#include "exp.h"
|
//#include "exp.h"
|
||||||
//#include "ray.h"
|
//#include "ray.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#include "../../../fixC11.h"
|
||||||
|
|
||||||
#include "GridRenderer.h"
|
#include "GridRenderer.h"
|
||||||
|
|
||||||
#include <QOpenGLWidget>
|
#include <QOpenGLWidget>
|
||||||
@@ -58,7 +60,7 @@ void GridRenderer::rebuildIfNeeded(GridModel* model) {
|
|||||||
std::unordered_set<uint64_t> used;
|
std::unordered_set<uint64_t> used;
|
||||||
|
|
||||||
for (MyNode& n1 : *grid) {
|
for (MyNode& n1 : *grid) {
|
||||||
glColor3f(0.5, 0.5, 0.5);
|
//glColor3f(0.5, 0.5, 0.5);
|
||||||
for (MyNode& n2 : grid->neighbors(n1)) {
|
for (MyNode& n2 : grid->neighbors(n1)) {
|
||||||
uint64_t min = std::min(n1.getIdx(), n2.getIdx());
|
uint64_t min = std::min(n1.getIdx(), n2.getIdx());
|
||||||
uint64_t max = std::max(n1.getIdx(), n2.getIdx());
|
uint64_t max = std::max(n1.getIdx(), n2.getIdx());
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#include "../../../fixC11.h"
|
||||||
#include "NavMeshRenderer.h"
|
#include "NavMeshRenderer.h"
|
||||||
#include "NavMeshModel.h"
|
#include "NavMeshModel.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user