已知两个坐标,一个是当前位置,一个是目的地位置,怎么计算两点之间的角度,做一个指针
如何获取连点之间的角度问题?How to get the angle between connected points?
如何获取连点之间的角度问题?已知两个坐标,一个是当前位置,一个是目的地位置,怎么计算两点之间的角度,做一个指针
Given two coordinates, one is the current position and the other is the destination position, how to calculate the angle between two points and make a pointer
回答:
用三角函数算
原文出处:如何获取连点之间的角度问题?
https://developers.weixin.qq.com/s/ab68Koma7XpS