vertex

fun vertex(x: Float, y: Float, argb: Int): Int

Adds a corner and answers its number, or -1 when the mesh is full. argb is packed colour.