예제 #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is PointV3))
            {
                return(false);
            }
            PointV3 other = (PointV3)obj;

            return(X == other.X && Y == other.Y);
        }
예제 #2
0
 public bool Equals(PointV3 other)
 {
     return(X == other.X && Y == other.Y);
 }