27.11.2011, 18:30
(
Последний раз редактировалось Thomas.; 25.02.2012 в 18:42.
)
Hi,
I'm looking for a way/formula to calculate the angle from a point to another point, relative to the angle of the central point of view.
The coordinates of both points are given.
To clarify what I mean I've made an example image.
In this picture the central point's angle is 0° and the object is at 90° from the central point of view.
In this picture the angle of the central point has changed, but both points have not moved.
The object is now at 45° from the central point of view.
How could I achieve this?
Thanks in advance.
I'm looking for a way/formula to calculate the angle from a point to another point, relative to the angle of the central point of view.
The coordinates of both points are given.
To clarify what I mean I've made an example image.
In this picture the central point's angle is 0° and the object is at 90° from the central point of view.
In this picture the angle of the central point has changed, but both points have not moved.
The object is now at 45° from the central point of view.
How could I achieve this?
Thanks in advance.