Files
2026-02-21 16:45:37 +08:00

19 lines
317 B
C#

using System;
using System.Collections.Generic;
namespace UltimateWater.Internal
{
public class FloatEqualityComparer : IEqualityComparer<float>
{
public bool Equals(float x, float y)
{
return x == y;
}
public int GetHashCode(float obj)
{
return (int)BitConverter.DoubleToInt64Bits(obj);
}
}
}