Vector4Extensions.IsZero

Extension Method in Vector4Extensions

Declaration

public static bool IsZero(this Vector4 vector, float epsilon = 1.401298E-45F)

Description

Checks if the vector is zero given a margin of error specified by an epsilon.

Parameters

vectorThe vector to check.
epsilonThe margin of error.

Returns

boolTrue if the vector is considered zero.