|
楼主 |
发表于 2024-12-10 15:57:56
|
显示全部楼层
可以参考自带四轴的pxyzcout2 rotv或者rotp差不多的
Rotates 3D vector. The pivot point is the origin. Requires helper variables to set rotation axis (axisx$, axisy$, axisz$).
return = rotv(a, x)
return A numeric variable which represents the first element of a three-element array.
x the vector to be rotated
a the rotation angle
axisx$, axisy$, axisz$ 设置你的矢量
a是角度
|
|