修复:圆弧显示错误

pull/1504/MERGE
ChenX 3 years ago
parent 9368a49d96
commit 103c262aa7

@ -29,7 +29,7 @@ export class Shape2 extends Shape
//根据圆弧的角度,来确定绘制个数
let count = Math.max(2, Math.abs(Math.ceil((tempArc.AllAngle) / Math.PI)) * divisions);
resolution = clamp(tempArc.Length / 20, count, 60);
resolution = clamp(Math.ceil(tempArc.Length / 20), count, 60);
}
else
resolution = divisions * 2;

Loading…
Cancel
Save