Click or drag to resize

MathfIsEqualApprox Method (Single, Single)

Returns true if `a` and `b` are approximately equal to each other. The comparison is done using a tolerance calculation with Epsilon.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool IsEqualApprox(
	float a,
	float b
)

Parameters

a
Type: SystemSingle
One of the values.
b
Type: SystemSingle
The other value.

Return Value

Type: Boolean
A bool for whether or not the two values are approximately equal.
See Also