Exemple #1
0
        /// <summary>
        /// Create a new TightRig by cloning another.
        /// </summary>
        public unsafe TightRig(TightRig <T> tightRig)
        {
            Count    = tightRig.Count;
            Capacity = tightRig.Array.Length;
            Array    = new T[Capacity];

            System.Array.Copy(tightRig.Array, Array = new T[Capacity], Count);
        }
Exemple #2
0
 public void Dispose()
 {
     _rig = null;
 }
Exemple #3
0
            //-------------------------------------------//

            public Enumerator(TightRig <T> rig)
            {
                _rig  = rig;
                Index = 0;
            }