code style correction following rafzi's comments
This commit is contained in:
parent
8816e71535
commit
90a3c7a8ae
@ -215,7 +215,7 @@ public:
|
|||||||
/// @returns The status flags for the query.
|
/// @returns The status flags for the query.
|
||||||
dtStatus initSlicedFindPath(dtPolyRef startRef, dtPolyRef endRef,
|
dtStatus initSlicedFindPath(dtPolyRef startRef, dtPolyRef endRef,
|
||||||
const float* startPos, const float* endPos,
|
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.
|
/// Updates an in-progress sliced path query.
|
||||||
/// @param[in] maxIter The maximum number of iterations to perform.
|
/// @param[in] maxIter The maximum number of iterations to perform.
|
||||||
@ -370,7 +370,7 @@ public:
|
|||||||
/// @returns The status flags for the query.
|
/// @returns The status flags for the query.
|
||||||
dtStatus raycast(dtPolyRef startRef, const float* startPos, const float* endPos,
|
dtStatus raycast(dtPolyRef startRef, const float* startPos, const float* endPos,
|
||||||
const dtQueryFilter* filter, const unsigned int options,
|
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.
|
/// Finds the distance from the specified position to the nearest polygon wall.
|
||||||
|
@ -92,7 +92,7 @@ public:
|
|||||||
inline int getHashSize() const { return m_hashSize; }
|
inline int getHashSize() const { return m_hashSize; }
|
||||||
inline dtNodeIndex getFirst(int bucket) const { return m_first[bucket]; }
|
inline dtNodeIndex getFirst(int bucket) const { return m_first[bucket]; }
|
||||||
inline dtNodeIndex getNext(int i) const { return m_next[i]; }
|
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:
|
private:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user