Skip to content

EvoZ1310/VL.2D.Delaunator

Repository files navigation

VL.2D.Delaunator

A VL wrapper for the Delaunator:
https://mapbox.github.io/delaunator/

Using this Delaunator C# Wrapper:
https://github.com/nol1fe/delaunator-sharp

Usage

Just reference the VL.2D.Delaunator Patch in your Patch to use the Delaunator

Currently implemented Methods are
GetTriangles (returned as Vector2 Spread)
GetTrianglePointsByIndex (returned as Vector2 Spread)

For the use with Stride there is also a small helper class implemented which takes the triangles generated from the Delaunator (Vector2) and convert it to a 3D model using random or passed z values
Just reference the Vl.2D.Delaunator.dll.

It includes the DelaunayUtils class:
CreateRandomVector3ValuesWithDelaunay
CreateVector8ValuesWithDelaunay

See VL.2D.Delaunator.Playground Patch for examples and usage!

image image

About

A VL wrapper for the Delaunator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages