[SOLVED] Calculating rotation for object

Hi Folks.

I use some deep learning solution. This solution create on a scene some face mesh (478 feature points of face), it’s look like on the picture

Issue I had:

I don’t understand how to calculate the rotation of a mesh face with good performance.

I used to use a very bad algorithm for calculating angle whith sin, cos, etc… It works, but only in the range from -90° to +90°, but I would like to get full 360° on each axis. How can I get this result?

Each point on the face looks like a Transform with a changing position, the rotation is always 0.