Vector3Extensions.IsEqualTo

Extension Method in Vector3Extensions

Declaration

public static bool IsEqualTo(this Vector3 lhs, Vector3 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.