Vector2Extensions.IsEqualTo
Extension Method in Vector2Extensions
Declaration
public static bool IsEqualTo(this Vector2 lhs, Vector2 rhs, float epsilon = 1.401298E-45F)
Description
Checks for equality with another vector given a margin of error specified by an epsilon.
Parameters
lhs | The left-hand side of the equality check. |
rhs | The right-hand side of the equality check. |
epsilon |
Returns
bool | True if the values are equal. |