public static void ApproxEquals(ref Vector4 vector1, ref Vector4 vector2, float tolerance, out bool result) { result = (vector1.Distance(vector2) <= tolerance); }