Click or drag to resize
MathUtilsFloatEquals Method (Single, Single)
Checks if the passed float values are "equal". I.e. checking if the difference between the two is smaller than the epsilon value specified in MathUtils.Epsilon.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static bool FloatEquals(
	float value1,
	float value2
)

Parameters

value1
Type: SystemSingle
The first floating point Value.
value2
Type: SystemSingle
The second floating point Value.

Return Value

Type: Boolean
True if the values are "equal", false otherwise.
See Also