Smaller triangles
This commit is contained in:
@@ -77,6 +77,7 @@ static Stats::Statistics<float> run(Settings::DataSetup setup, int numFile, std:
|
||||
|
||||
// mesh
|
||||
NM::NavMeshSettings set;
|
||||
set.maxQuality_m = 0.10; // because of narrow hallways and small rooms reduce min. triangle size (default is 0.2)
|
||||
MyNavMesh mesh;
|
||||
MyNavMeshFactory fac(&mesh, set);
|
||||
fac.build(map);
|
||||
@@ -231,7 +232,7 @@ static Stats::Statistics<float> run(Settings::DataSetup setup, int numFile, std:
|
||||
plot.setActivity((int) act.get());
|
||||
//plot.setView(0, 0);
|
||||
//plot.splot.getView().setEnabled(false);
|
||||
//plot.splot.getView().setCamera(0, 0);
|
||||
plot.splot.getView().setCamera(0, 0);
|
||||
//plot.splot.getView().setEqualXY(true);
|
||||
|
||||
plot.plot();
|
||||
|
||||
Reference in New Issue
Block a user