From 3a1924e3b03a19dbddd1a0af64dea27bf09c339a Mon Sep 17 00:00:00 2001 From: ZA139 <40553487+ZA139@users.noreply.github.com> Date: Sun, 9 Oct 2022 21:11:34 +0800 Subject: [PATCH] Correction the comment of dtVperp2D The return value should be the perp dot product rather than the dot product. --- Detour/Include/DetourCommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detour/Include/DetourCommon.h b/Detour/Include/DetourCommon.h index 113e8c3..d578ebe 100644 --- a/Detour/Include/DetourCommon.h +++ b/Detour/Include/DetourCommon.h @@ -319,7 +319,7 @@ inline float dtVdot2D(const float* u, const float* v) /// Derives the xz-plane 2D perp product of the two vectors. (uz*vx - ux*vz) /// @param[in] u The LHV vector [(x, y, z)] /// @param[in] v The RHV vector [(x, y, z)] -/// @return The dot product on the xz-plane. +/// @return The prep dot product on the xz-plane. /// /// The vectors are projected onto the xz-plane, so the y-values are ignored. inline float dtVperp2D(const float* u, const float* v)