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/Headers/DivideRecast.h

Diff revisions: vs.
  @@ -106,19 +106,35 @@
106 106 /**
107 107 * Returns a random point on the navmesh.
108 108 **/
109 - bool getRandomNavMeshPoint(const NavigationMesh& navMesh, vec3<F32>& resultPt);
109 + bool getRandomNavMeshPoint(const NavigationMesh& navMesh,
110 + vec3<F32>& resultPt);
110 111 /**
111 112 * Returns a random point on the navmesh contained withing the specified circle
112 113 **/
113 - bool getRandomPointAroundCircle(const NavigationMesh& navMesh, const vec3<F32>& centerPosition, F32 radius, const vec3<F32>& extents, vec3<F32>& resultPt, U8 maxIters);
114 + bool getRandomPointAroundCircle(const NavigationMesh& navMesh,
115 + const vec3<F32>& centerPosition,
116 + F32 radius,
117 + const vec3<F32>& extents,
118 + vec3<F32>& resultPt,
119 + U8 maxIters);
114 120 /**
115 121 * Find a point on the navmesh closest to the specified point position, within predefined
116 122 * bounds.
117 123 * Returns true if such a point is found (returned as resultPt), returns false
118 124 * if no point is found. When false is returned, resultPt is not altered.
119 125 **/
120 - bool DivideRecast::findNearestPointOnNavmesh(const NavigationMesh& navMesh, const vec3<F32>& position, const vec3<F32>& extents, F32 delta, vec3<F32>& resultPt, dtPolyRef &resultPoly);
121 - bool findNearestPolyOnNavmesh(const NavigationMesh& navMesh, const vec3<F32>& position, const vec3<F32>& extents, vec3<F32>& resultPt, dtPolyRef &resultPoly);
126 + bool DivideRecast::findNearestPointOnNavmesh(const NavigationMesh& navMesh,
127 + const vec3<F32>& position,
128 + const vec3<F32>& extents,
129 + F32 delta,
130 + vec3<F32>& resultPt,
131 + dtPolyRef &resultPoly);
132 +
133 + bool findNearestPolyOnNavmesh(const NavigationMesh& navMesh,
134 + const vec3<F32>& position,
135 + const vec3<F32>& extents,
136 + vec3<F32>& resultPt,
137 + dtPolyRef &resultPoly);
122 138
123 139 protected:
124 140 DivideRecast();