From 56784fcde9e4a4ff1553bf555e66b59208c90b3c Mon Sep 17 00:00:00 2001 From: Nick Samarin Date: Wed, 19 May 2010 01:42:17 +0000 Subject: added converting mesh of game object to Detour StatNavMesh (game object is defined by property "navmesh") --- extern/recastnavigation/Recast/Source/RecastMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extern/recastnavigation/Recast/Source/RecastMesh.cpp') diff --git a/extern/recastnavigation/Recast/Source/RecastMesh.cpp b/extern/recastnavigation/Recast/Source/RecastMesh.cpp index 0bcca9314c6..45ed4a2fdc6 100644 --- a/extern/recastnavigation/Recast/Source/RecastMesh.cpp +++ b/extern/recastnavigation/Recast/Source/RecastMesh.cpp @@ -32,7 +32,7 @@ struct rcEdge unsigned short poly[2]; }; -static bool buildMeshAdjacency(unsigned short* polys, const int npolys, +/*static */bool buildMeshAdjacency(unsigned short* polys, const int npolys, const int nverts, const int vertsPerPoly) { // Based on code by Eric Lengyel from: -- cgit v1.2.3