added first tool

Added the tileTool with the ability to select tiles
Abstraction layer for navmesh tools created.
This commit is contained in:
marauder2k7 2025-07-23 15:08:29 +01:00
parent ab83ecb591
commit 80473e10b5
12 changed files with 363 additions and 66 deletions

View file

@ -335,7 +335,7 @@ void NavMesh::initPersistFields()
"Sets the sampling distance to use when generating the detail mesh.");
addFieldV("detailSampleError", TypeRangedF32, Offset(mDetailSampleMaxError, NavMesh), &CommonValidators::PositiveFloat,
"The maximum distance the detail mesh surface should deviate from heightfield data.");
addFieldV("maxEdgeLen", TypeRangedS32, Offset(mDetailSampleDist, NavMesh), &CommonValidators::PositiveInt,
addFieldV("maxEdgeLen", TypeRangedS32, Offset(mMaxEdgeLen, NavMesh), &CommonValidators::PositiveInt,
"The maximum allowed length for contour edges along the border of the mesh.");
addFieldV("simplificationError", TypeRangedF32, Offset(mMaxSimplificationError, NavMesh), &CommonValidators::PositiveFloat,
"The maximum distance a simplfied contour's border edges should deviate from the original raw contour.");