三角函数

558 阅读1分钟

弧度角度转换公式

弧度 = 2 * π / 360 * 角度 = π / 180 * 角度

角度 = 180 / π * 弧度

x = Math.cos(弧度) * r

y = Math.sin(弧度) * r