Exemplo n.º 1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = MinU.GetHashCode();
         hashCode = (hashCode * 397) ^ MinV.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxU.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxV.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 protected bool Equals(TexCoord other)
 {
     return(MinU.Equals(other.MinU) && MinV.Equals(other.MinV) && MaxU.Equals(other.MaxU) && MaxV.Equals(other.MaxV));
 }