Пример #1
0
 public Capsule2D(Segment2D segment, float radius)
 {
     this.segment = segment;
     this.radius  = radius;
 }
Пример #2
0
 public Capsule2D(Vector2 start, Vector2 end, float radius)
 {
     segment     = new Segment2D(start, end);
     this.radius = radius;
 }