Delaunay Algorithm in a GML Script?

F

FactorX12

Guest
Hi,

I am currently working on making a game that generates rocks such as this one:

upload_2019-7-24_10-28-32.png
but, I cannot think of a way to achieve triangles such as that without the Delaunay algorithm. Does anybody have a script that could generate the Delaunay algorithm? If so, please post it here and give an explanation. I already have the points laid out, all I need is the connection between them.

Thanks!
 
Top