Click or drag to resize
MathUtilsFloatEquals Method (Vector2F, Vector2F)
Checks if the passed vector's components are "equal". I.e. checking if the difference between the components of 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(
	Vector2F value1,
	Vector2F value2
)

Parameters

value1
Type: Slash.Math.Algebra.VectorsVector2F
The first vector.
value2
Type: Slash.Math.Algebra.VectorsVector2F
The second vector.

Return Value

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