From 90a3c7a8aefa230972c43f5a9e2ce7c7d16b5121 Mon Sep 17 00:00:00 2001 From: axelrodR Date: Thu, 19 Jun 2014 17:36:37 +0300 Subject: [PATCH] code style correction following rafzi's comments --- Detour/Include/DetourNavMeshQuery.h | 4 ++-- Detour/Include/DetourNode.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Detour/Include/DetourNavMeshQuery.h b/Detour/Include/DetourNavMeshQuery.h index 453ce14..c7b360d 100644 --- a/Detour/Include/DetourNavMeshQuery.h +++ b/Detour/Include/DetourNavMeshQuery.h @@ -215,7 +215,7 @@ public: /// @returns The status flags for the query. dtStatus initSlicedFindPath(dtPolyRef startRef, dtPolyRef endRef, const float* startPos, const float* endPos, - const dtQueryFilter* filter, const unsigned int options=0); + const dtQueryFilter* filter, const unsigned int options = 0); /// Updates an in-progress sliced path query. /// @param[in] maxIter The maximum number of iterations to perform. @@ -370,7 +370,7 @@ public: /// @returns The status flags for the query. dtStatus raycast(dtPolyRef startRef, const float* startPos, const float* endPos, const dtQueryFilter* filter, const unsigned int options, - dtRaycastHit* hit, dtPolyRef prevRef=0) const; + dtRaycastHit* hit, dtPolyRef prevRef = 0) const; /// Finds the distance from the specified position to the nearest polygon wall. diff --git a/Detour/Include/DetourNode.h b/Detour/Include/DetourNode.h index 9054748..6fefdc8 100644 --- a/Detour/Include/DetourNode.h +++ b/Detour/Include/DetourNode.h @@ -92,7 +92,7 @@ public: inline int getHashSize() const { return m_hashSize; } inline dtNodeIndex getFirst(int bucket) const { return m_first[bucket]; } inline dtNodeIndex getNext(int i) const { return m_next[i]; } - inline int getNodeCount() const { return m_nodeCount;} + inline int getNodeCount() const { return m_nodeCount; } private: