公告板
版本库
filestore
活动
搜索
登录
main
/
TCM_CharacterLibrary
中医人物知识数据库-外包项目
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
'firstSubmit'
mh-two-thousand-and-two
2024-03-25
b8c93990f3fa5e50a8aca16bdc9c2758168aa0fd
[TCM_CharacterLibrary.git]
/
node_modules
/
zrender
/
src
/
contain
/
util.ts
1
2
3
4
5
6
7
8
9
10
const PI2 = Math.PI * 2;
export function normalizeRadian(angle: number): number {
angle %= PI2;
if (angle < 0) {
angle += PI2;
}
return angle;
}