Beispiel #1
0
        /// <summary>
        /// Returns a new instance of the vertex with identical properties.
        /// </summary>
        public Vert Clone()
        {
            Vert vert = new Vert(new Vec3());

            vert.pos    = pos;
            vert.culled = culled;
            return(vert);
        }
Beispiel #2
0
 // Add vert
 public void AddVert(Vert vert)
 {
     verts.Add(vert);
 }