Correction the comment of dtVperp2D

The return value should be the perp dot product rather than the dot product.
This commit is contained in:
ZA139 2022-10-09 21:11:34 +08:00 committed by Graham Pentheny
parent 2164a272e5
commit 3a1924e3b0

View File

@ -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)