Vector4Extensions.IsEqualTo

Extension Method in Vector4Extensions

Declaration

public static bool IsEqualTo(this Vector4 lhs, Vector4 rhs, float epsilon = 1.401298E-45F)

Description

Checks for equality with another vector given a margin of error specified by an epsilon.

Parameters

lhsThe left-hand side of the equality check.
rhsThe right-hand side of the equality check.
epsilon

Returns

boolTrue if the values are equal.