FloatEq function (math3dhelper.h)
This function tests equality with FLOAT_TOLERANCE = 0.00001. x will be considered equal to y, if the difference between the two numbers is less than FLOAT_TOLERANCE.
Syntax
bool FloatEq(
float x,
float y
);
Parameters
x
x value.
y
y value.
Return value
This function returns bool.
Requirements
Requirement | Value |
---|---|
Header | math3dhelper.h |