Looking to create an n-Sided Area using Three.JS. All Vector3's and their order have been provided and added to the geometry vertices array with coordinates in the format (x,0,y).
How can I fill this area with faces? Is there a function available or is it more of a mathematical problem to divide the area into triangles?
Seeking a solution to this challenge.