I am trying to rotate an image so that it is always pointing at the player. I have two lines, the first point of both of them is on the image and the second point of one line is on the last position of the player, and the second point of the other one is on the current position of the player (these lines are sf::Lines vertex arrays). To rotate the image I need to get the angle between the two lines. Does anyone know how I can get that angle with only the points from the lines?