fixed some small issues regarding museum project
This commit is contained in:
@@ -36,7 +36,7 @@ namespace NM {
|
||||
/** algorithm choice */
|
||||
SamplePartitionType partitionType = SamplePartitionType::SAMPLE_PARTITION_WATERSHED;
|
||||
|
||||
float regionMinSize = 8; // (isolated) regions smaller than this will not be rendered?!
|
||||
float regionMinSize = 80; // (isolated) regions smaller than this will not be rendered?!
|
||||
|
||||
|
||||
const float regionMergeSize = 20; //??
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace NM {
|
||||
|
||||
// to-be-walked distance;
|
||||
const float toBeWalkedDist = params.getToBeWalkedDistance();
|
||||
const float toBeWalkedDistSafe = 0.75 + toBeWalkedDist * 1.1;
|
||||
const float toBeWalkedDistSafe = 0.75 + toBeWalkedDist * 1.1;
|
||||
|
||||
// construct reachable region
|
||||
NavMeshSub<Tria> reachable(params.start, toBeWalkedDistSafe);
|
||||
|
||||
Reference in New Issue
Block a user