I implemented a method in javascript to compute the angle between 2 vectors. But I don't know how to compute the angle that lies in the polygon.
For example, in this image I want to compute the red angle but in the left one I need to go from AC to AB while in the right one I need to do it from AB to AC.
Thank you for your response