Shader中求一个以原点为起点的向量与x正方向的夹角的一个方法

假设该点坐标为x,y 则 夹角为 atan2(y,x)

原文地址:https://www.cnblogs.com/Akishimo/p/4998459.html