I would greatly appreciate it if I could take a look at how you solved this!

https://www.dropbox.com/s/3nb5lkh8yybrlbs/voronoi%20stuff.zip?dl=0

That should contain everything I did related to voronoi/delauny. You might also need Vector2 and Vector3 classes. Everything from the link I posted should still work. Use is as follows:

float* xValues = new float[numNodes]; float* yValues = new float[numNodes]; for (int i = 0; i < numNodes; i++) { xValues[i] = RandomFloat(size); yValues[i] = RandomFloat(size); } VoronoiDiagramGenerator vdg; vdg.generateVoronoi(xValues, yValues, numNodes, 0, size, 0, size, 0.0f); points = vdg.outputPoints; edges = vdg.outputEdges; edgeEndPoints = vdg.outputEndPoints;

You can access the delauny triangulation through:

points[i]->edges[j]->GetOppositePoint(points[i])