예제 #1
0
 public override int GetHashCode()
 {
     return(Position.GetHashCode() ^ Normal.GetHashCode() ^ Color.GetHashCode() ^ (UV == null ? 0 : UV.GetHashCode()));
 }
예제 #2
0
 public override int GetHashCode()
 {
     return(Position.GetHashCode() ^ Normal.GetHashCode() ^ (Color?.GetHashCode() ?? 0) ^ (UV?.GetHashCode() ?? 0));
 }