added c++11 fixes for android
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include "../../../fixC11.h"
|
||||
|
||||
#include "GridRenderer.h"
|
||||
|
||||
#include <QOpenGLWidget>
|
||||
@@ -58,7 +60,7 @@ void GridRenderer::rebuildIfNeeded(GridModel* model) {
|
||||
std::unordered_set<uint64_t> used;
|
||||
|
||||
for (MyNode& n1 : *grid) {
|
||||
glColor3f(0.5, 0.5, 0.5);
|
||||
//glColor3f(0.5, 0.5, 0.5);
|
||||
for (MyNode& n2 : grid->neighbors(n1)) {
|
||||
uint64_t min = std::min(n1.getIdx(), n2.getIdx());
|
||||
uint64_t max = std::max(n1.getIdx(), n2.getIdx());
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "../../../fixC11.h"
|
||||
#include "NavMeshRenderer.h"
|
||||
#include "NavMeshModel.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user