コード例 #1
0
ファイル: ContactData.cs プロジェクト: PeterZs/TVGL
 public IntersectionGroup(GroupOfLoops posSideGroupOfLoops, GroupOfLoops negSideGroupOfLoops,
                          IEnumerable <PolygonLight> intersection2D, int index)
 {
     GroupOfLoops = new HashSet <GroupOfLoops> {
         posSideGroupOfLoops, negSideGroupOfLoops
     };
     Intersection2D = new List <PolygonLight>(intersection2D);
     Index          = index;
 }
コード例 #2
0
ファイル: ContactData.cs プロジェクト: mattMedemaLabs/TVGL
 public IntersectionGroup(GroupOfLoops posSideGroupOfLoops, GroupOfLoops negSideGroupOfLoops,
                          List <Polygon> intersection2D, int index)
 {
     GroupOfLoops = new HashSet <GroupOfLoops> {
         posSideGroupOfLoops, negSideGroupOfLoops
     };
     Intersection2D = intersection2D;
     Index          = index;
 }