use <_impl/_tri_delaunay_comm_impl.scad>;
use <../util/map/hashmap_keys.scad>;

function tri_delaunay_indices(d) =	[
	for(tri = hashmap_keys(delaunay_triangles(d))) 
	if(tri[0] > 3 && tri[1] > 3 && tri[2] > 3)
	[tri[2] - 4, tri[1] - 4, tri[0] - 4] // counter-clockwise
];