From e8753cdd1495ac350307f3f8417d4d34a4e589a4 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:09:05 +0200 Subject: [PATCH] Recast: fix more comments --- src/thirdparty/recast/Recast/Source/RecastMeshDetail.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/thirdparty/recast/Recast/Source/RecastMeshDetail.cpp b/src/thirdparty/recast/Recast/Source/RecastMeshDetail.cpp index 5172220b..113a4fd9 100644 --- a/src/thirdparty/recast/Recast/Source/RecastMeshDetail.cpp +++ b/src/thirdparty/recast/Recast/Source/RecastMeshDetail.cpp @@ -700,11 +700,11 @@ static void triangulateHull(const int /*nverts*/, const float* verts, const int // Triangulate the polygon by moving left or right, // depending on which triangle has shorter perimeter. - // This heuristic was chose emprically, since it seems - // handle tesselated straight edges well. + // This heuristic was chose empirically, since it seems + // handle tessellated straight edges well. while (STEP_DIR(left, nhull) != right) { - // Check to see if se should advance left or right. + // Check to see if we should advance left or right. int nleft = STEP_DIR(left, nhull); int nright = REV_STEP_DIR(right, nhull);