Hello, I am having diffuculty retreiving the angle between any two specifiied points. For example point #1 = (5,6) and point #2 = (7,9). How would I go about finding the angle, if angle 0 is simply a horisontal line going right. Any help would be appreciated. Thank you.
What I am trying to do is drawing a new line starting from a set point at any specified angle. For example the coordinate is (0,0) and I want to draw a line 8 pixels long at a 45 degree angle. The trouble i am having is getting the x2 and y2 coordinate because of the angle. I know there is a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.