mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-29 05:26:12 +00:00
Monster update which adds detail height meshes.
- Added detail height mesh generation (RecastDetailMesh.cpp) for single,tiled statmeshes as well as tilemesh. - Added feature to contour tracing which detects extra vertices along tile edges which should be removed later. - Changed the tiled stat mesh preprocess, so that it first generated polymeshes per tile and finally combines them. - Fixed bug in the GUI code where invisible buttons could be pressed.
This commit is contained in:
@@ -447,7 +447,7 @@ static void removeAdjacentNeighbours(rcRegion& reg)
|
||||
}
|
||||
}
|
||||
|
||||
void replaceNeighbour(rcRegion& reg, unsigned short oldId, unsigned short newId)
|
||||
static void replaceNeighbour(rcRegion& reg, unsigned short oldId, unsigned short newId)
|
||||
{
|
||||
bool neiChanged = false;
|
||||
for (int i = 0; i < reg.connections.size(); ++i)
|
||||
@@ -467,7 +467,7 @@ void replaceNeighbour(rcRegion& reg, unsigned short oldId, unsigned short newId)
|
||||
removeAdjacentNeighbours(reg);
|
||||
}
|
||||
|
||||
bool canMergeWithRegion(rcRegion& reg, unsigned short id)
|
||||
static bool canMergeWithRegion(rcRegion& reg, unsigned short id)
|
||||
{
|
||||
int n = 0;
|
||||
for (int i = 0; i < reg.connections.size(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user