コード例 #1
0
        public Segment3[] ToSegmentArray()
        {
            Segment3[] array = new Segment3[this._edges.Length];
            int        i     = 0;
            int        num   = array.Length;

            while (i < num)
            {
                array[i] = new Segment3(this._edges[i].Point0, this._edges[i].Point1);
                i++;
            }
            return(array);
        }
コード例 #2
0
 public Capsule3(Segment3 segment, float radius)
 {
     this.Segment = segment;
     this.Radius  = radius;
 }