senoutouya / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

improved finalizeSlicedFindPath - return final path dtPolyRef #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I find it useful to have the final path dtPolyRef returned by the 
finalizeSlicedFindPath function

dtStatus finalizeSlicedFindPath(dtPolyRef* path, int* pathCount, const int 
maxPath, dtPolyRef& finalPolyRef);

This means I can easily tell if the path has been truncated because I didn't 
send in a big enough array of dtPolyRefs

Original issue reported on code.google.com by armstron...@gmail.com on 18 Nov 2010 at 12:36

GoogleCodeExporter commented 9 years ago
The change in R255 allows you to do this, see: 
http://digestingduck.blogspot.com/2010/11/detour-return-codes-take-2.html

Original comment by memono...@gmail.com on 26 Nov 2010 at 12:50