C++, I want calculate the angle of the direction of the two points.
Here is a picture which shows the two points and the direction of how to get the angle of the direction?
p1 - start point. p2 - direction point. me need direction angle(facing?) from p1 to p2