From 0f920ff6024ee25f11ef247c041a6f7ffa8a78ce Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 21 Oct 2022 21:27:37 +0200 Subject: [PATCH] Update comment in CAI_Utility::DrawNavMeshBVTree --- r5dev/game/shared/ai_utility_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/game/shared/ai_utility_shared.cpp b/r5dev/game/shared/ai_utility_shared.cpp index e4236686..6f65f6a8 100644 --- a/r5dev/game/shared/ai_utility_shared.cpp +++ b/r5dev/game/shared/ai_utility_shared.cpp @@ -138,7 +138,7 @@ void CAI_Utility::DrawNavMeshBVTree(dtNavMesh* pNavMesh) const // Parallel Vector3D construction. const __m128 xMins = _mm_add_ps(xTileAABB, _mm_mul_ps( // Formula: tile->header->bmin[axis] + node->bmin[axis] * cs; _mm_setr_ps(pNode->bmin[0], pNode->bmin[1], pNode->bmin[2], 0.0f), xCellSize)); - const __m128 xMaxs = _mm_add_ps(xTileAABB, _mm_mul_ps( // Formula: tile->header->bmin[axis] + node->bmax[axis] * cs; + const __m128 xMaxs = _mm_add_ps(xTileAABB, _mm_mul_ps( // Formula: tile->header->bmax[axis] + node->bmax[axis] * cs; _mm_setr_ps(pNode->bmax[0], pNode->bmax[1], pNode->bmax[2], 0.0f), xCellSize)); v_RenderBox(vTransforms, *reinterpret_cast(&xMins), *reinterpret_cast(&xMaxs),