Files
wg_cpso/PlanktonConsoleApp/Program.cs

23 lines
539 B
C#
Raw Normal View History

2026-03-25 18:20:24 +08:00
using Plankton;
namespace PlanktonConsoleApp
{
internal class Program
{
static void Main(string[] args)
{
var mesh = new PlanktonMesh();
mesh.Vertices.Add(0.0, 0.0, 1.0);
mesh.Vertices.Add(1.0, 0.0, 0.0);
mesh.Vertices.Add(1.0, 1.0, 0.0);
mesh.Vertices.Add(0.0, 1.0, 0.0);
mesh.Faces.AddFace(0, 1, 2);
mesh.Faces.AddFace(0, 2, 3);
int[] vertexNeighbours = mesh.Vertices.GetVertexNeighbours(0);
}
}
}