Vector2Extensions.IsZero
Extension Method in Vector2Extensions
Declaration
public static bool IsZero(this Vector2 vector, float epsilon = 1.401298E-45F)Description
Checks if the vector is zero given a margin of error specified by an epsilon.
Parameters
| vector | The vector to check. |
| epsilon | The margin of error. |
Returns
| bool | True if the vector is considered zero. |