@uniczjc/compute
v0.3.4
Published
计算函数
Downloads
56
Readme
@uniczjc/compute
⭐️计算模块
compute
ComputeMaxLength()
计算xy偏移距离
ComputeDistance()
计算划动距离
ComputeMaxLength()
计算偏移最大长度
ComputeVAndDir()
计算划动速度、方向
vector
getDirection()
计算点相对于(0,0)的方向
getVLength()
获取向量长度
radianToAngle()
获取弧度转角度