Add edge on a face of mesh

Hello there,

I am creating a 3d modeling editor, and I need pointers on how to draw edge on a selected face of a geometry. This splits the face into sub facets like this

Any suggestion??

Average of top points of the face = middle top vertex of the face.
Average of bottom points of the face = middle bottom vertex of the face.
Line between middle top and middle bottom vertices = happiness on your face. :smiling_face_with_three_hearts:

1 Like

You mean this way?

The only problem is that a part of the face is always missing