diff --git a/Detour/Include/DetourNavMesh.h b/Detour/Include/DetourNavMesh.h index 1533e97..03c3b8c 100644 --- a/Detour/Include/DetourNavMesh.h +++ b/Detour/Include/DetourNavMesh.h @@ -301,33 +301,33 @@ public: // Encodes a tile id. inline dtPolyRef encodePolyId(unsigned int salt, unsigned int it, unsigned int ip) const { - return (salt << (m_polyBits+m_tileBits)) | (it << m_polyBits) | ip; + return ((dtPolyRef)salt << (m_polyBits+m_tileBits)) | ((dtPolyRef)it << m_polyBits) | (dtPolyRef)ip; } // Decodes a tile id. inline void decodePolyId(dtPolyRef ref, unsigned int& salt, unsigned int& it, unsigned int& ip) const { - salt = (ref >> (m_polyBits+m_tileBits)) & ((1<> m_polyBits) & ((1<> (m_polyBits+m_tileBits)) & ((1<> m_polyBits) & ((1<> (m_polyBits+m_tileBits)) & ((1<> (m_polyBits+m_tileBits)) & ((1<> m_polyBits) & ((1<> m_polyBits) & ((1<PBXSmartGroupTreeModuleOutlineStateSelectionKey - 81 + 15 + 11 1 0 PBXSmartGroupTreeModuleOutlineStateVisibleRectKey - {{0, 692}, {264, 660}} + {{0, 0}, {264, 660}} PBXTopSmartGroupGIDs @@ -325,7 +326,7 @@ PBXProjectModuleGUID 6B8632A30F78115100E2684A PBXProjectModuleLabel - main.cpp + DetourNavMesh.h PBXSplitModuleInNavigatorKey Split0 @@ -333,11 +334,11 @@ PBXProjectModuleGUID 6B8632A40F78115100E2684A PBXProjectModuleLabel - main.cpp + DetourNavMesh.h _historyCapacity 0 bookmark - 6B1635D6126887C80083FC15 + 6B1635DF1268887E0083FC15 history 6BBB4C34115B7A3D00CF791D @@ -414,7 +415,6 @@ 6B1633121268326F0083FC15 6B1633141268326F0083FC15 6B163317126832D20083FC15 - 6B16338112684C6F0083FC15 6B16357012687A5D0083FC15 6B16357112687A5D0083FC15 6B16358E12687D740083FC15 @@ -429,7 +429,8 @@ 6B1635C9126885AD0083FC15 6B1635D3126887C80083FC15 6B1635D4126887C80083FC15 - 6B1635D5126887C80083FC15 + 6B1635D91268881A0083FC15 + 6B1635DA1268881A0083FC15 SplitCount