Debian Codegraph @

debian/patches/0011-Typo-fixes-660.patch

raw
1 From 1adf911a0949cd9f4688da2631843781ad4d5942 Mon Sep 17 00:00:00 2001
2 From: alonfaraj <[email protected]>
3 Date: Wed, 16 Aug 2023 22:37:41 +0300
4 Subject: [PATCH 11/36] Typo fixes (#660)
5
6 * multiple comments typo fixes
7
8 * typo
9
10 * typos
11
12 * typos
13
14 * typos
15
16 ---------
17
18 Co-authored-by: Alon Faraj <[email protected]>
19 ---
20 CONTRIBUTING.md | 4 +--
21 Detour/Include/DetourNavMeshBuilder.h | 2 +-
22 Detour/Include/DetourNavMeshQuery.h | 8 +++---
23 Detour/Source/DetourNavMeshBuilder.cpp | 2 +-
24 Detour/Source/DetourNavMeshQuery.cpp | 26 +++++++++----------
25 DetourCrowd/Include/DetourCrowd.h | 4 +--
26 .../Source/DetourObstacleAvoidance.cpp | 2 +-
27 .../Include/DetourTileCacheBuilder.h | 2 +-
28 README.md | 2 +-
29 Recast/Include/Recast.h | 2 +-
30 Recast/Include/RecastAlloc.h | 2 +-
31 Recast/Source/RecastContour.cpp | 6 ++---
32 Recast/Source/RecastMesh.cpp | 2 +-
33 Recast/Source/RecastMeshDetail.cpp | 4 +--
34 Recast/Source/RecastRegion.cpp | 6 ++---
35 RecastDemo/Source/NavMeshPruneTool.cpp | 2 +-
36 RecastDemo/Source/Sample_SoloMesh.cpp | 6 ++---
37 Tests/Recast/Tests_Recast.cpp | 4 +--
38 18 files changed, 43 insertions(+), 43 deletions(-)
39
40 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
41 index 478c504..ae2c562 100644
42 --- a/CONTRIBUTING.md
43 +++ b/CONTRIBUTING.md
44 @@ -13,7 +13,7 @@ If you have questions about how to use Recast or Detour, please direct these to
45 discussion list. We are also available on [Gitter][gitter].
46
47 ## Have a question?
48 -Questions about how to best use Recast, what it's capable of, and other inqueries should be directed to the [Q&A section of Github Discussions][q-and-a]. Questions submitted as Github issues will be converted to discussions.
49 +Questions about how to best use Recast, what it's capable of, and other inquiries should be directed to the [Q&A section of Github Discussions][q-and-a]. Questions submitted as Github issues will be converted to discussions.
50
51 ## Found an Issue?
52 If you find a bug in the source code or a mistake in the documentation, you can help us by
53 @@ -49,7 +49,7 @@ chances of your issue being dealt with quickly:
54 Implement `duDebugDraw` and call some methods from DetourDebugDraw.h. Seriously, just do it, we'll definitely ask you to if you haven't!
55 * **Logs** - stdout and stderr from the console, or log files if there are any.
56 If integrating into your own codebase, be sure to implement the log callbacks in `rcContext`.
57 -* **Reproduction steps** - a minimal, unambigious set of steps including input, that causes the error for you.
58 +* **Reproduction steps** - a minimal, unambiguous set of steps including input, that causes the error for you.
59 e.g. input geometry and settings you can use to input into RecastDemo to get it to fail.
60 Note: These can be saved by pressing the 9 key in RecastDemo, and the resulting .gset file can be shared (with the .obj if it is not one of the default ones).
61 * **Recast version(s) and/or git commit hash** - particularly if you can find the point at which the error first started happening
62 diff --git a/Detour/Include/DetourNavMeshBuilder.h b/Detour/Include/DetourNavMeshBuilder.h
63 index 9425a7a..f99be5d 100644
64 --- a/Detour/Include/DetourNavMeshBuilder.h
65 +++ b/Detour/Include/DetourNavMeshBuilder.h
66 @@ -82,7 +82,7 @@ struct dtNavMeshCreateParams
67
68 unsigned int userId; ///< The user defined id of the tile.
69 int tileX; ///< The tile's x-grid location within the multi-tile destination mesh. (Along the x-axis.)
70 - int tileY; ///< The tile's y-grid location within the multi-tile desitation mesh. (Along the z-axis.)
71 + int tileY; ///< The tile's y-grid location within the multi-tile destination mesh. (Along the z-axis.)
72 int tileLayer; ///< The tile's layer within the layered destination mesh. [Limit: >= 0] (Along the y-axis.)
73 float bmin[3]; ///< The minimum bounds of the tile. [(x, y, z)] [Unit: wu]
74 float bmax[3]; ///< The maximum bounds of the tile. [(x, y, z)] [Unit: wu]
75 diff --git a/Detour/Include/DetourNavMeshQuery.h b/Detour/Include/DetourNavMeshQuery.h
76 index 101b3c8..dd8150c 100644
77 --- a/Detour/Include/DetourNavMeshQuery.h
78 +++ b/Detour/Include/DetourNavMeshQuery.h
79 @@ -36,7 +36,7 @@ class dtQueryFilter
80 {
81 float m_areaCost[DT_MAX_AREAS]; ///< Cost per area type. (Used by default implementation.)
82 unsigned short m_includeFlags; ///< Flags for polygons that can be visited. (Used by default implementation.)
83 - unsigned short m_excludeFlags; ///< Flags for polygons that should not be visted. (Used by default implementation.)
84 + unsigned short m_excludeFlags; ///< Flags for polygons that should not be visited. (Used by default implementation.)
85
86 public:
87 dtQueryFilter();
88 @@ -178,7 +178,7 @@ public:
89 /// @{
90
91 /// Finds a path from the start polygon to the end polygon.
92 - /// @param[in] startRef The refrence id of the start polygon.
93 + /// @param[in] startRef The reference id of the start polygon.
94 /// @param[in] endRef The reference id of the end polygon.
95 /// @param[in] startPos A position within the start polygon. [(x, y, z)]
96 /// @param[in] endPos A position within the end polygon. [(x, y, z)]
97 @@ -217,8 +217,8 @@ public:
98 /// -# Call finalizeSlicedFindPath() to get the path.
99 ///@{
100
101 - /// Intializes a sliced path query.
102 - /// @param[in] startRef The refrence id of the start polygon.
103 + /// Initializes a sliced path query.
104 + /// @param[in] startRef The reference id of the start polygon.
105 /// @param[in] endRef The reference id of the end polygon.
106 /// @param[in] startPos A position within the start polygon. [(x, y, z)]
107 /// @param[in] endPos A position within the end polygon. [(x, y, z)]
108 diff --git a/Detour/Source/DetourNavMeshBuilder.cpp b/Detour/Source/DetourNavMeshBuilder.cpp
109 index e93a976..2c43370 100644
110 --- a/Detour/Source/DetourNavMeshBuilder.cpp
111 +++ b/Detour/Source/DetourNavMeshBuilder.cpp
112 @@ -358,7 +358,7 @@ bool dtCreateNavMeshData(dtNavMeshCreateParams* params, unsigned char** outData,
113 }
114 }
115
116 - // Off-mesh connectionss are stored as polygons, adjust values.
117 + // Off-mesh connections are stored as polygons, adjust values.
118 const int totPolyCount = params->polyCount + storedOffMeshConCount;
119 const int totVertCount = params->vertCount + storedOffMeshConCount*2;
120
121 diff --git a/Detour/Source/DetourNavMeshQuery.cpp b/Detour/Source/DetourNavMeshQuery.cpp
122 index cebe26b..9105b34 100644
123 --- a/Detour/Source/DetourNavMeshQuery.cpp
124 +++ b/Detour/Source/DetourNavMeshQuery.cpp
125 @@ -239,7 +239,7 @@ dtStatus dtNavMeshQuery::findRandomPoint(const dtQueryFilter* filter, float (*fr
126 const dtMeshTile* t = m_nav->getTile(i);
127 if (!t || !t->header) continue;
128
129 - // Choose random tile using reservoi sampling.
130 + // Choose random tile using reservoir sampling.
131 const float area = 1.0f; // Could be tile area too.
132 tsum += area;
133 const float u = frand();
134 @@ -276,7 +276,7 @@ dtStatus dtNavMeshQuery::findRandomPoint(const dtQueryFilter* filter, float (*fr
135 polyArea += dtTriArea2D(va,vb,vc);
136 }
137
138 - // Choose random polygon weighted by area, using reservoi sampling.
139 + // Choose random polygon weighted by area, using reservoir sampling.
140 areaSum += polyArea;
141 const float u = frand();
142 if (u*areaSum <= polyArea)
143 @@ -365,7 +365,7 @@ dtStatus dtNavMeshQuery::findRandomPointAroundCircle(dtPolyRef startRef, const f
144 bestNode->flags |= DT_NODE_CLOSED;
145
146 // Get poly and tile.
147 - // The API input has been cheked already, skip checking internal data.
148 + // The API input has been checked already, skip checking internal data.
149 const dtPolyRef bestRef = bestNode->id;
150 const dtMeshTile* bestTile = 0;
151 const dtPoly* bestPoly = 0;
152 @@ -383,7 +383,7 @@ dtStatus dtNavMeshQuery::findRandomPointAroundCircle(dtPolyRef startRef, const f
153 const float* vc = &bestTile->verts[bestPoly->verts[j]*3];
154 polyArea += dtTriArea2D(va,vb,vc);
155 }
156 - // Choose random polygon weighted by area, using reservoi sampling.
157 + // Choose random polygon weighted by area, using reservoir sampling.
158 areaSum += polyArea;
159 const float u = frand();
160 if (u*areaSum <= polyArea)
161 @@ -1032,7 +1032,7 @@ dtStatus dtNavMeshQuery::findPath(dtPolyRef startRef, dtPolyRef endRef,
162 }
163
164 // Get current poly and tile.
165 - // The API input has been cheked already, skip checking internal data.
166 + // The API input has been checked already, skip checking internal data.
167 const dtPolyRef bestRef = bestNode->id;
168 const dtMeshTile* bestTile = 0;
169 const dtPoly* bestPoly = 0;
170 @@ -1056,7 +1056,7 @@ dtStatus dtNavMeshQuery::findPath(dtPolyRef startRef, dtPolyRef endRef,
171 continue;
172
173 // Get neighbour poly and tile.
174 - // The API input has been cheked already, skip checking internal data.
175 + // The API input has been checked already, skip checking internal data.
176 const dtMeshTile* neighbourTile = 0;
177 const dtPoly* neighbourPoly = 0;
178 m_nav->getTileAndPolyByRefUnsafe(neighbourRef, &neighbourTile, &neighbourPoly);
179 @@ -1314,7 +1314,7 @@ dtStatus dtNavMeshQuery::updateSlicedFindPath(const int maxIter, int* doneIters)
180 }
181
182 // Get current poly and tile.
183 - // The API input has been cheked already, skip checking internal data.
184 + // The API input has been checked already, skip checking internal data.
185 const dtPolyRef bestRef = bestNode->id;
186 const dtMeshTile* bestTile = 0;
187 const dtPoly* bestPoly = 0;
188 @@ -1369,7 +1369,7 @@ dtStatus dtNavMeshQuery::updateSlicedFindPath(const int maxIter, int* doneIters)
189 continue;
190
191 // Get neighbour poly and tile.
192 - // The API input has been cheked already, skip checking internal data.
193 + // The API input has been checked already, skip checking internal data.
194 const dtMeshTile* neighbourTile = 0;
195 const dtPoly* neighbourPoly = 0;
196 m_nav->getTileAndPolyByRefUnsafe(neighbourRef, &neighbourTile, &neighbourPoly);
197 @@ -2099,7 +2099,7 @@ dtStatus dtNavMeshQuery::moveAlongSurface(dtPolyRef startRef, const float* start
198 nstack--;
199
200 // Get poly and tile.
201 - // The API input has been cheked already, skip checking internal data.
202 + // The API input has been checked already, skip checking internal data.
203 const dtPolyRef curRef = curNode->id;
204 const dtMeshTile* curTile = 0;
205 const dtPoly* curPoly = 0;
206 @@ -2764,7 +2764,7 @@ dtStatus dtNavMeshQuery::findPolysAroundCircle(dtPolyRef startRef, const float*
207 bestNode->flags |= DT_NODE_CLOSED;
208
209 // Get poly and tile.
210 - // The API input has been cheked already, skip checking internal data.
211 + // The API input has been checked already, skip checking internal data.
212 const dtPolyRef bestRef = bestNode->id;
213 const dtMeshTile* bestTile = 0;
214 const dtPoly* bestPoly = 0;
215 @@ -2944,7 +2944,7 @@ dtStatus dtNavMeshQuery::findPolysAroundShape(dtPolyRef startRef, const float* v
216 bestNode->flags |= DT_NODE_CLOSED;
217
218 // Get poly and tile.
219 - // The API input has been cheked already, skip checking internal data.
220 + // The API input has been checked already, skip checking internal data.
221 const dtPolyRef bestRef = bestNode->id;
222 const dtMeshTile* bestTile = 0;
223 const dtPoly* bestPoly = 0;
224 @@ -3151,7 +3151,7 @@ dtStatus dtNavMeshQuery::findLocalNeighbourhood(dtPolyRef startRef, const float*
225 nstack--;
226
227 // Get poly and tile.
228 - // The API input has been cheked already, skip checking internal data.
229 + // The API input has been checked already, skip checking internal data.
230 const dtPolyRef curRef = curNode->id;
231 const dtMeshTile* curTile = 0;
232 const dtPoly* curPoly = 0;
233 @@ -3507,7 +3507,7 @@ dtStatus dtNavMeshQuery::findDistanceToWall(dtPolyRef startRef, const float* cen
234 bestNode->flags |= DT_NODE_CLOSED;
235
236 // Get poly and tile.
237 - // The API input has been cheked already, skip checking internal data.
238 + // The API input has been checked already, skip checking internal data.
239 const dtPolyRef bestRef = bestNode->id;
240 const dtMeshTile* bestTile = 0;
241 const dtPoly* bestPoly = 0;
242 diff --git a/DetourCrowd/Include/DetourCrowd.h b/DetourCrowd/Include/DetourCrowd.h
243 index 854546f..6360dfb 100644
244 --- a/DetourCrowd/Include/DetourCrowd.h
245 +++ b/DetourCrowd/Include/DetourCrowd.h
246 @@ -275,7 +275,7 @@ public:
247
248 /// Adds a new agent to the crowd.
249 /// @param[in] pos The requested position of the agent. [(x, y, z)]
250 - /// @param[in] params The configutation of the agent.
251 + /// @param[in] params The configuration of the agent.
252 /// @return The index of the agent in the agent pool. Or -1 if the agent could not be added.
253 int addAgent(const float* pos, const dtCrowdAgentParams* params);
254
255 @@ -444,7 +444,7 @@ This value is often based on the agent radius and/or maximum speed. E.g. radius
256 @var dtCrowdAgentParams::pathOptimizationRange
257 @par
258
259 -Only applicalbe if #updateFlags includes the #DT_CROWD_OPTIMIZE_VIS flag.
260 +Only applicable if #updateFlags includes the #DT_CROWD_OPTIMIZE_VIS flag.
261
262 This value is often based on the agent radius. E.g. radius * 30
263
264 diff --git a/DetourCrowd/Source/DetourObstacleAvoidance.cpp b/DetourCrowd/Source/DetourObstacleAvoidance.cpp
265 index 94f7df6..f460c3d 100644
266 --- a/DetourCrowd/Source/DetourObstacleAvoidance.cpp
267 +++ b/DetourCrowd/Source/DetourObstacleAvoidance.cpp
268 @@ -332,7 +332,7 @@ float dtObstacleAvoidanceQuery::processSample(const float* vcand, const float cs
269 const float vcpen = m_params.weightCurVel * (dtVdist2D(vcand, vel) * m_invVmax);
270
271 // find the threshold hit time to bail out based on the early out penalty
272 - // (see how the penalty is calculated below to understnad)
273 + // (see how the penalty is calculated below to understand)
274 float minPen = minPenalty - vpen - vcpen;
275 float tThresold = (m_params.weightToi / minPen - 0.1f) * m_params.horizTime;
276 if (tThresold - m_params.horizTime > -FLT_EPSILON)
277 diff --git a/DetourTileCache/Include/DetourTileCacheBuilder.h b/DetourTileCache/Include/DetourTileCacheBuilder.h
278 index 9a6844c..1103cb6 100644
279 --- a/DetourTileCache/Include/DetourTileCacheBuilder.h
280 +++ b/DetourTileCache/Include/DetourTileCacheBuilder.h
281 @@ -147,7 +147,7 @@ dtStatus dtBuildTileCachePolyMesh(dtTileCacheAlloc* alloc,
282 dtTileCachePolyMesh& mesh);
283
284 /// Swaps the endianess of the compressed tile data's header (#dtTileCacheLayerHeader).
285 -/// Tile layer data does not need endian swapping as it consits only of bytes.
286 +/// Tile layer data does not need endian swapping as it consist only of bytes.
287 /// @param[in,out] data The tile data array.
288 /// @param[in] dataSize The size of the data array.
289 bool dtTileCacheHeaderSwapEndian(unsigned char* data, const int dataSize);
290 diff --git a/README.md b/README.md
291 index 5dfe543..19e7c06 100644
292 --- a/README.md
293 +++ b/README.md
294 @@ -21,7 +21,7 @@ Recast constructs a navmesh through a multi-step rasterization process:
295 1. First Recast voxelizes the input triangle mesh by rasterizing the triangles into a multi-layer heightfield.
296 2. Voxels in areas where the character would not be able to move are removed by applying simple voxel data filters.
297 3. The walkable areas described by the voxel grid are then divided into sets of 2D polygonal regions.
298 -4. The navigation polygons are generated by triangulating and stiching together the generated 2d plygonal regions.
299 +4. The navigation polygons are generated by triangulating and stiching together the generated 2d polygonal regions.
300
301 ## Detour
302
303 diff --git a/Recast/Include/Recast.h b/Recast/Include/Recast.h
304 index 1107b85..2a5e075 100644
305 --- a/Recast/Include/Recast.h
306 +++ b/Recast/Include/Recast.h
307 @@ -1003,7 +1003,7 @@ bool rcRasterizeTriangles(rcContext* context,
308 /// Allows the formation of walkable regions that will flow over low lying
309 /// objects such as curbs, and up structures such as stairways.
310 ///
311 -/// Two neighboring spans are walkable if: <tt>rcAbs(currentSpan.smax - neighborSpan.smax) < waklableClimb</tt>
312 +/// Two neighboring spans are walkable if: <tt>rcAbs(currentSpan.smax - neighborSpan.smax) < walkableClimb</tt>
313 ///
314 /// @warning Will override the effect of #rcFilterLedgeSpans. So if both filters are used, call
315 /// #rcFilterLedgeSpans after calling this filter.
316 diff --git a/Recast/Include/RecastAlloc.h b/Recast/Include/RecastAlloc.h
317 index 1741de9..dcb2f51 100644
318 --- a/Recast/Include/RecastAlloc.h
319 +++ b/Recast/Include/RecastAlloc.h
320 @@ -77,7 +77,7 @@ struct rcNewTag {};
321 inline void* operator new(size_t, const rcNewTag&, void* p) { return p; }
322 inline void operator delete(void*, const rcNewTag&, void*) {}
323
324 -/// Signed to avoid warnnings when comparing to int loop indexes, and common error with comparing to zero.
325 +/// Signed to avoid warnings when comparing to int loop indexes, and common error with comparing to zero.
326 /// MSVC2010 has a bug where ssize_t is unsigned (!!!).
327 typedef intptr_t rcSizeType;
328 #define RC_SIZE_MAX INTPTR_MAX
329 diff --git a/Recast/Source/RecastContour.cpp b/Recast/Source/RecastContour.cpp
330 index 5508a98..39371f8 100644
331 --- a/Recast/Source/RecastContour.cpp
332 +++ b/Recast/Source/RecastContour.cpp
333 @@ -399,7 +399,7 @@ static void simplifyContour(rcIntArray& points, rcIntArray& simplified,
334 if (dx*dx + dz*dz > maxEdgeLen*maxEdgeLen)
335 {
336 // Round based on the segments in lexilogical order so that the
337 - // max tesselation is consistent regardles in which direction
338 + // max tesselation is consistent regardless in which direction
339 // segments are traversed.
340 const int n = bi < ai ? (bi+pn - ai) : (bi - ai);
341 if (n > 1)
342 @@ -512,7 +512,7 @@ static bool intersectProp(const int* a, const int* b, const int* c, const int* d
343 }
344
345 // Returns T iff (a,b,c) are collinear and point c lies
346 -// on the closed segement ab.
347 +// on the closed segment ab.
348 static bool between(const int* a, const int* b, const int* c)
349 {
350 if (!collinear(a, b, c))
351 @@ -749,7 +749,7 @@ static void mergeRegionHoles(rcContext* ctx, rcContourRegion& region)
352 for (int iter = 0; iter < hole->nverts; iter++)
353 {
354 // Find potential diagonals.
355 - // The 'best' vertex must be in the cone described by 3 cosequtive vertices of the outline.
356 + // The 'best' vertex must be in the cone described by 3 consecutive vertices of the outline.
357 // ..o j-1
358 // |
359 // | * best
360 diff --git a/Recast/Source/RecastMesh.cpp b/Recast/Source/RecastMesh.cpp
361 index c2c0d51..390088c 100644
362 --- a/Recast/Source/RecastMesh.cpp
363 +++ b/Recast/Source/RecastMesh.cpp
364 @@ -983,7 +983,7 @@ static bool removeVertex(rcContext* ctx, rcPolyMesh& mesh, const unsigned short
365 /// @par
366 ///
367 /// @note If the mesh data is to be used to construct a Detour navigation mesh, then the upper
368 -/// limit must be retricted to <= #DT_VERTS_PER_POLYGON.
369 +/// limit must be restricted to <= #DT_VERTS_PER_POLYGON.
370 ///
371 /// @see rcAllocPolyMesh, rcContourSet, rcPolyMesh, rcConfig
372 bool rcBuildPolyMesh(rcContext* ctx, const rcContourSet& cset, const int nvp, rcPolyMesh& mesh)
373 diff --git a/Recast/Source/RecastMeshDetail.cpp b/Recast/Source/RecastMeshDetail.cpp
374 index 40f5b8c..479037a 100644
375 --- a/Recast/Source/RecastMeshDetail.cpp
376 +++ b/Recast/Source/RecastMeshDetail.cpp
377 @@ -589,8 +589,8 @@ static void triangulateHull(const int /*nverts*/, const float* verts, const int
378
379 // Triangulate the polygon by moving left or right,
380 // depending on which triangle has shorter perimeter.
381 - // This heuristic was chose emprically, since it seems
382 - // handle tesselated straight edges well.
383 + // This heuristic was chose empirically, since it seems
384 + // handle tessellated straight edges well.
385 while (next(left, nhull) != right)
386 {
387 // Check to see if se should advance left or right.
388 diff --git a/Recast/Source/RecastRegion.cpp b/Recast/Source/RecastRegion.cpp
389 index 4a7e841..bc08ecd 100644
390 --- a/Recast/Source/RecastRegion.cpp
391 +++ b/Recast/Source/RecastRegion.cpp
392 @@ -1339,7 +1339,7 @@ struct rcSweepSpan
393 /// re-assigned to the zero (null) region.
394 ///
395 /// Partitioning can result in smaller than necessary regions. @p mergeRegionArea helps
396 -/// reduce unecessarily small regions.
397 +/// reduce unnecessarily small regions.
398 ///
399 /// See the #rcConfig documentation for more information on the configuration parameters.
400 ///
401 @@ -1512,7 +1512,7 @@ bool rcBuildRegionsMonotone(rcContext* ctx, rcCompactHeightfield& chf,
402 /// re-assigned to the zero (null) region.
403 ///
404 /// Watershed partitioning can result in smaller than necessary regions, especially in diagonal corridors.
405 -/// @p mergeRegionArea helps reduce unecessarily small regions.
406 +/// @p mergeRegionArea helps reduce unnecessarily small regions.
407 ///
408 /// See the #rcConfig documentation for more information on the configuration parameters.
409 ///
410 @@ -1637,7 +1637,7 @@ bool rcBuildRegions(rcContext* ctx, rcCompactHeightfield& chf,
411 {
412 rcScopedTimer timerFilter(ctx, RC_TIMER_BUILD_REGIONS_FILTER);
413
414 - // Merge regions and filter out smalle regions.
415 + // Merge regions and filter out small regions.
416 rcIntArray overlaps;
417 chf.maxRegions = regionId;
418 if (!mergeAndFilterRegions(ctx, minRegionArea, mergeRegionArea, chf.maxRegions, chf, srcReg, overlaps))
419 diff --git a/RecastDemo/Source/NavMeshPruneTool.cpp b/RecastDemo/Source/NavMeshPruneTool.cpp
420 index 75b7e1f..c775e5f 100644
421 --- a/RecastDemo/Source/NavMeshPruneTool.cpp
422 +++ b/RecastDemo/Source/NavMeshPruneTool.cpp
423 @@ -146,7 +146,7 @@ static void floodNavmesh(dtNavMesh* nav, NavmeshFlags* flags, dtPolyRef start, u
424 openList.pop_back();
425
426 // Get current poly and tile.
427 - // The API input has been cheked already, skip checking internal data.
428 + // The API input has been checked already, skip checking internal data.
429 const dtMeshTile* tile = 0;
430 const dtPoly* poly = 0;
431 nav->getTileAndPolyByRefUnsafe(ref, &tile, &poly);
432 diff --git a/RecastDemo/Source/Sample_SoloMesh.cpp b/RecastDemo/Source/Sample_SoloMesh.cpp
433 index 3375499..174a4e1 100644
434 --- a/RecastDemo/Source/Sample_SoloMesh.cpp
435 +++ b/RecastDemo/Source/Sample_SoloMesh.cpp
436 @@ -519,7 +519,7 @@ bool Sample_SoloMesh::handleBuild()
437
438
439 // Partition the heightfield so that we can use simple algorithm later to triangulate the walkable areas.
440 - // There are 3 martitioning methods, each with some pros and cons:
441 + // There are 3 partitioning methods, each with some pros and cons:
442 // 1) Watershed partitioning
443 // - the classic Recast partitioning
444 // - creates the nicest tessellation
445 @@ -528,8 +528,8 @@ bool Sample_SoloMesh::handleBuild()
446 // - the are some corner cases where this method creates produces holes and overlaps
447 // - holes may appear when a small obstacles is close to large open area (triangulation can handle this)
448 // - overlaps may occur if you have narrow spiral corridors (i.e stairs), this make triangulation to fail
449 - // * generally the best choice if you precompute the nacmesh, use this if you have large open areas
450 - // 2) Monotone partioning
451 + // * generally the best choice if you precompute the navmesh, use this if you have large open areas
452 + // 2) Monotone partitioning
453 // - fastest
454 // - partitions the heightfield into regions without holes and overlaps (guaranteed)
455 // - creates long thin polygons, which sometimes causes paths with detours
456 diff --git a/Tests/Recast/Tests_Recast.cpp b/Tests/Recast/Tests_Recast.cpp
457 index eac837f..34c61d0 100644
458 --- a/Tests/Recast/Tests_Recast.cpp
459 +++ b/Tests/Recast/Tests_Recast.cpp
460 @@ -1061,7 +1061,7 @@ TEST_CASE("rcVector")
461 vec.resize(100);
462 Incrementor::Reset();
463 vec.clear();
464 - // One temp object is constructed for the default argumnet of resize().
465 + // One temp object is constructed for the default argument of resize().
466 REQUIRE(Incrementor::constructions == 0);
467 REQUIRE(Incrementor::destructions == 100);
468 REQUIRE(Incrementor::copies == 0);
469 @@ -1076,7 +1076,7 @@ TEST_CASE("rcVector")
470 SECTION("Copying Contents")
471 {
472
473 - // veriyf event counts after doubling size -- should require a lot of copying and destorying.
474 + // veriyf event counts after doubling size -- should require a lot of copying and destroying.
475 rcTempVector<Incrementor> vec;
476 Incrementor::Reset();
477 vec.resize(100);
478 --
479 2.43.0
480