swordlegend / recastnavigation

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

vdot, vdistSq2, vdist2, vcross name collisions #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are definitions for these functions in RecastMeshDetail.cpp and 
DetourCommon.h.  This works fine when the two files are compiled in the same 
library, but when compiled into separate libraries and linked into an app 
there can be a collision and the first imported function will be used.  With 
the current configuration of the system this is not an issue, but I've 
augmented the detour source in my project to support a custom up vector.  

I would think an appropriate solution would be to use namespaces.

Original issue reported on code.google.com by shawnlha...@gmail.com on 1 Feb 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Vector functions received name decoration in R155.

Original comment by memono...@gmail.com on 14 Apr 2010 at 6:46