From e177aec5fadf112232b8f819b88331d86cd6989f Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 17 Nov 2023 12:19:54 +0100 Subject: [PATCH] Codestyle --- Source/Engine/Core/Math/Math.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Engine/Core/Math/Math.h b/Source/Engine/Core/Math/Math.h index 49a052771..a3c05fce4 100644 --- a/Source/Engine/Core/Math/Math.h +++ b/Source/Engine/Core/Math/Math.h @@ -728,9 +728,7 @@ namespace Math /// /// Returns value based on comparand. The main purpose of this function is to avoid branching based on floating point comparison which can be avoided via compiler intrinsics. /// - /// - /// Please note that this doesn't define what happens in the case of NaNs as there might be platform specific differences. - /// + /// Please note that this doesn't define what happens in the case of NaNs as there might be platform specific differences. /// Comparand the results are based on. /// The result value if comparand >= 0. /// The result value if comparand < 0. @@ -890,8 +888,9 @@ namespace Math { return Lerp(a, b, alpha < 0.5f ? InterpCircularIn(0.f, 1.f, alpha * 2.f) * 0.5f : InterpCircularOut(0.f, 1.f, alpha * 2.f - 1.f) * 0.5f + 0.5f); } + /// - /// PingPongs the value , so that it is never larger than and never smaller than 0. + /// Ping pongs the value , so that it is never larger than and never smaller than 0. /// /// ///