diff --git a/math/distribution/Const.h b/math/distribution/Const.h new file mode 100644 index 0000000..30bd63a --- /dev/null +++ b/math/distribution/Const.h @@ -0,0 +1,4 @@ +#ifndef CONST_H +#define CONST_H + +#endif // CONST_H diff --git a/navMesh/NavMeshSettings.h b/navMesh/NavMeshSettings.h index 1ef3de7..350fcc3 100644 --- a/navMesh/NavMeshSettings.h +++ b/navMesh/NavMeshSettings.h @@ -36,7 +36,9 @@ namespace NM { /** algorithm choice */ SamplePartitionType partitionType = SamplePartitionType::SAMPLE_PARTITION_WATERSHED; - const float regionMinSize = 2;//8; // (isolated) regions smaller than this will not be rendered?! + float regionMinSize = 8; // (isolated) regions smaller than this will not be rendered?! + + const float regionMergeSize = 20; //?? const int vertsPerPoly = 3;//6.0f; const float detailSampleDist = 6.0f; diff --git a/navMesh/meta/NavMeshDijkstra.h b/navMesh/meta/NavMeshDijkstra.h new file mode 100644 index 0000000..7416bd5 --- /dev/null +++ b/navMesh/meta/NavMeshDijkstra.h @@ -0,0 +1,4 @@ +#ifndef NAVMESHDIJKSTRA_H +#define NAVMESHDIJKSTRA_H + +#endif // NAVMESHDIJKSTRA_H diff --git a/navMesh/walk/NavMeshWalkSemiDirected.h b/navMesh/walk/NavMeshWalkSemiDirected.h new file mode 100644 index 0000000..494545f --- /dev/null +++ b/navMesh/walk/NavMeshWalkSemiDirected.h @@ -0,0 +1,4 @@ +#ifndef NAVMESHWALKSEMIDIRECTED_H +#define NAVMESHWALKSEMIDIRECTED_H + +#endif // NAVMESHWALKSEMIDIRECTED_H diff --git a/tests/navMesh/TestNavMeshDijkstra.cpp b/tests/navMesh/TestNavMeshDijkstra.cpp new file mode 100644 index 0000000..e69de29