swordlegend / recastnavigation

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

dtNavMeshQuery should take const dtNavMesh #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The "init" function should be changed to:

bool dtNavMeshQuery::init(const class dtNavMesh* nav, const int maxNodes);

The added const reinforces the idea that the nav mesh query simply uses the nav 
mesh data, rather than modifying it.

Original issue reported on code.google.com by armstron...@gmail.com on 24 Aug 2010 at 2:15

GoogleCodeExporter commented 9 years ago
Fixed in R207.

Original comment by memono...@gmail.com on 24 Aug 2010 at 6:20