1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 09:45:34 +00:00
openmw/components/detournavigator/settings.hpp

34 lines
900 B
C++

#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#include <string>
namespace DetourNavigator
{
struct Settings
{
bool mEnableWriteRecastMeshToFile;
bool mEnableWriteNavMeshToFile;
float mCellHeight;
float mCellSize;
float mDetailSampleDist;
float mDetailSampleMaxError;
float mMaxClimb;
float mMaxSimplificationError;
float mMaxSlope;
float mRecastScaleFactor;
int mMaxEdgeLen;
int mMaxNavMeshQueryNodes;
int mMaxVertsPerPoly;
int mRegionMergeSize;
int mRegionMinSize;
int mTileSize;
std::size_t mMaxPolygonPathSize;
std::size_t mMaxSmoothPathSize;
std::size_t mTrianglesPerChunk;
std::string mRecastMeshPathPrefix;
std::string mNavMeshPathPrefix;
};
}
#endif