Пример #1
0
 public void AddPairs(int4 pairLeft, int4 r, int count)
 {
     for (int i = 0; i < count; i++)
     {
         SeenPairs.Add(new BodyIndexPair {
             BodyAIndex = pairLeft[0], BodyBIndex = r[0]
         });
     }
 }
 public void AddPairs(int4 pairLeft, int4 r, int count, bool swapped = false)
 {
     for (int i = 0; i < count; i++)
     {
         SeenPairs.Add(new BodyIndexPair {
             BodyIndexA = pairLeft[0], BodyIndexB = r[0]
         });
     }
 }