From 2164a272e5487534c1f63f6ace8cb30ca9683280 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Thu, 6 Oct 2022 22:48:29 -0400 Subject: [PATCH] Updated array size in docstring for dtMeshTile::verts Thanks to @pineappleKID for pointing this out! https://github.com/recastnavigation/recastnavigation/issues/535 --- Detour/Include/DetourNavMesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detour/Include/DetourNavMesh.h b/Detour/Include/DetourNavMesh.h index 9ac1dc8..cb5414f 100644 --- a/Detour/Include/DetourNavMesh.h +++ b/Detour/Include/DetourNavMesh.h @@ -285,7 +285,7 @@ struct dtMeshTile unsigned int linksFreeList; ///< Index to the next free link. dtMeshHeader* header; ///< The tile header. dtPoly* polys; ///< The tile polygons. [Size: dtMeshHeader::polyCount] - float* verts; ///< The tile vertices. [Size: dtMeshHeader::vertCount] + float* verts; ///< The tile vertices. [(x, y, z) * dtMeshHeader::vertCount] dtLink* links; ///< The tile links. [Size: dtMeshHeader::maxLinkCount] dtPolyDetail* detailMeshes; ///< The tile's detail sub-meshes. [Size: dtMeshHeader::detailMeshCount]