Exemplo n.º 1
0
 public override bool Equals(object obj)
 {
     if (obj is Vertex)
     {
         Vertex v = (Vertex)obj;
         return(Pos.Equals(v.Pos) && Nrm.Equals(v.Nrm) && Tex.Equals(v.Tex));
     }
     return(false);
 }
Exemplo n.º 2
0
 public override bool Equals(object obj)
 {
     if (obj is UVertex)
     {
         UVertex o = (UVertex)obj;
         return(Pos.Equals(o.Pos) && Nrm.Equals(o.Nrm));
     }
     return(false);
 }