23 lines
539 B
C#
23 lines
539 B
C#
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);
|
|
}
|
|
}
|
|
}
|