Click or drag to resize

MathUtilsFloatEquals Method (Single, Single, Single)

Checks if a floating point Value is equal to another, within a certain tolerance.

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static bool FloatEquals(
	float value1,
	float value2,
	float delta
)

Parameters

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

Return Value

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