コード例 #1
0
ファイル: Segment.cs プロジェクト: Anovi-Soft/KGG
 public Segment(Vector begin, Vector end)
 {
     this.begin = begin;
     this.end = end;
 }
コード例 #2
0
ファイル: Vector.cs プロジェクト: Anovi-Soft/KGG
 public Vector(Vector a, Vector b)
 {
     this.x = b.x - a.x;
     this.y = b.y - a.y;
 }