Exemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="vertices"></param>
 /// <param name="indices"></param>
 /// <param name="vertexFactory"></param>
 /// <remarks>BSP Meshes are wound CLOCKWISE</remarks>
 public Mesh(Vector3[] vertices, int[][] indices, Func<int, Vector3, Vertex> vertexFactory)
     :base(CreatePolygons(vertices, indices, vertexFactory), vertices.Bounds(), CreateDescription(vertices, indices), true)
 {
 }