 | 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.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static bool FloatEquals(
Vector2F value1,
Vector2F value2
)
Public Shared Function FloatEquals (
value1 As Vector2F,
value2 As Vector2F
) As Boolean
public:
static bool FloatEquals(
Vector2F value1,
Vector2F value2
)
static member FloatEquals :
value1 : Vector2F *
value2 : Vector2F -> bool
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