Earcut
object Earcut
Kotlin Multiplatform Port of Earcut
Copyright earcut-kotlin-multiplatform
Thanks Monkey-Maestro
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun triangulate(path: DoubleArray, holeIndices: IntArray = intArrayOf(), dimensions: Int = 2): List<Int>
Triangulate a polygon with 3d coordinates with optional hole