Esempio n. 1
0
        /// <summary>
        /// Create a clone of this Vector
        /// </summary>
        /// <returns></returns>
        public new Vector4f Clone()
        {
            Vector4f v = new Vector4f(this.X, this.Y, this.Z, this.W);

            return(v);
        }
Esempio n. 2
0
 /// <summary>
 /// Checks wether or not the object is already stored in the List
 /// </summary>
 /// <param name="item">The Object you are looking for</param>
 /// <returns>true, if it was found</returns>
 public bool Contains(Vector4f item)
 {
     return(base.Contains(item));
 }
Esempio n. 3
0
 /// <summary>
 /// insert a new Element
 /// </summary>
 /// <param name="index">The Index where the Element should be stored</param>
 /// <param name="item">The object that should be inserted</param>
 public void Insert(int index, Vector4f item)
 {
     base.Insert(index, item);
 }
Esempio n. 4
0
 /// <summary>
 /// remove an Element
 /// </summary>
 /// <param name="item">The object that should be removed</param>
 public void Remove(Vector4f item)
 {
     base.Remove(item);
 }
Esempio n. 5
0
 /// <summary>
 /// add a new Element
 /// </summary>
 /// <param name="item">The object you want to add</param>
 /// <returns>The index it was added on</returns>
 public int Add(Vector4f item)
 {
     return(base.Add(item));
 }