swordlegend / recastnavigation

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

Common return code for Detour functions #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Detour functions should return common return code to indicate failure state or 
the condition of the result. This could include return codes such as:

DT_QUERY_FAILED, which means that the input data did not yield any meaningful 
result (i.e. invalid polyref)
DT_QUERY_SUCCEED, all fine
DT_QUERY_PARTIAL, succeed, but on partial result was return (i.e. too small 
output buffer)

Original issue reported on code.google.com by memono...@gmail.com on 17 Sep 2010 at 10:28

GoogleCodeExporter commented 9 years ago
Can you also include functions like dtNavMesh::init and dtNavMesh::loadTile 
fail?

Original comment by faramir...@gmail.com on 7 Oct 2010 at 6:14

GoogleCodeExporter commented 9 years ago
Implemented in R250.

Original comment by memono...@gmail.com on 29 Oct 2010 at 12:08