Axiom.Math.Collections.QuaternionCollection.Add C# (CSharp) Méthode

Add() public méthode

Adds a Quaternion to the end of the QuaternionCollection.
public Add ( Quaternion item ) : int
item Axiom.Math.Quaternion The to be added to the end of the QuaternionCollection.
Résultat int
        public virtual int Add( Quaternion item )
        {
            if ( m_count == m_array.Length )
                EnsureCapacity( m_count + 1 );

            m_array[ m_count ] = item;
            m_version++;

            return m_count++;
        }

Usage Example

Exemple #1
0
 public override int Add(Quaternion x)
 {
     lock (this.m_root)
         return(m_collection.Add(x));
 }