Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include |
#include "Math/UnrealMathUtility.h" |
static bool IsNearlyZero
(
float Value,
float ErrorTolerance
)
Checks if a floating point number is nearly zero.
true if Value is nearly zero
Parameter |
Description |
---|---|
Value |
Number to compare |
ErrorTolerance |
Maximum allowed difference for considering Value as 'nearly zero' |