Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/AI/PathFinding/NavMeshes/Headers/NavMesh.h

Diff revisions: vs.
  @@ -102,7 +102,9 @@
102 102 inline void setFileName(const stringImpl& fileName) {_fileName.append(fileName);}
103 103 /// Initiates the NavigationMesh build process, which includes notifying the
104 104 /// clients and posting a task.
105 - bool build(SceneGraphNode* const sgn, CreationCallback creationCompleteCallback, bool threaded = true);
105 + bool build(SceneGraphNode* const sgn,
106 + CreationCallback creationCompleteCallback,
107 + bool threaded = true);
106 108 /// Save the NavigationMesh to a file.
107 109 bool save();
108 110 /// Load a saved NavigationMesh from a file.
  @@ -124,8 +126,17 @@
124 126 inline const dtNavMeshQuery& getNavQuery() const {return *_navQuery;}
125 127
126 128 bool getRandomPosition(vec3<F32>& result) const;
127 - bool getClosestPosition(const vec3<F32>& destination, const vec3<F32>& extents, F32 delta, vec3<F32>& result) const;
128 - bool getRandomPositionInCircle(const vec3<F32>& center, F32 radius, const vec3<F32>& extents, vec3<F32>& result, U8 maxIters = 15) const;
129 +
130 + bool getClosestPosition(const vec3<F32>& destination,
131 + const vec3<F32>& extents,
132 + F32 delta,
133 + vec3<F32>& result) const;
134 +
135 + bool getRandomPositionInCircle(const vec3<F32>& center,
136 + F32 radius,
137 + const vec3<F32>& extents,
138 + vec3<F32>& result,
139 + U8 maxIters = 15) const;
129 140
130 141 NavigationMesh();
131 142 ~NavigationMesh();