Beispiel #1
0
 /// <summary>
 /// Add a new vertex into the mesh and returns the vertex id
 /// </summary>
 /// <param name="vertex"></param>
 /// <returns></returns>
 private int AddNewVertex(MeshVertex vertex)
 {
     Vertices.Add(vertex);
     return(Vertices.Count - 1);
 }