コード例 #1
0
 public Segment2Di(Vector2i start, Vector2i end)
 {
     this.Start = start;
     this.End   = end;
 }
コード例 #2
0
 public Segment2Di(int startX, int startY, int endX, int endY)
 {
     this.Start = new Vector2i(startX, startY);
     this.End   = new Vector2i(endX, endY);
 }