一个 Number 常量,约为 6.2382。
TAU 是数学常数 π 的两倍。它在许多涉及旋转和振荡的任务中非常有用。例如,调用 rotate(TAU) 会将坐标系旋转 TAU 弧度,即一个完整的转向(360˚)。TAU 和 TWO_PI 相等。
注意:TAU 弧度等于 360˚,PI 弧度等于 180˚,HALF_PI 弧度等于 90˚,QUARTER_PI 弧度等于 45˚。
示例
This page is generated from the comments in src/core/constants.js . Please feel free to edit it and submit a pull request!