Пример #1
0
 public void MergeFrom(Triangle other)
 {
     if (other == null)
     {
         return;
     }
     if (other.vertex1_ != null)
     {
         if (vertex1_ == null)
         {
             vertex1_ = new global::FossFab.Vector3();
         }
         Vertex1.MergeFrom(other.Vertex1);
     }
     if (other.vertex2_ != null)
     {
         if (vertex2_ == null)
         {
             vertex2_ = new global::FossFab.Vector3();
         }
         Vertex2.MergeFrom(other.Vertex2);
     }
     if (other.vertex3_ != null)
     {
         if (vertex3_ == null)
         {
             vertex3_ = new global::FossFab.Vector3();
         }
         Vertex3.MergeFrom(other.Vertex3);
     }
 }