Cover the seventh canvas tool and handle FCP callback timing

这个提交包含在:
mac 于 2026-11-06 11:33:06 +08:00 提交
1 父节点 320f4c5f91
当前提交 a2a6e57c13
4 个文件已更改
+23 -10

没有与搜索条件相匹配的文件

+2 -1
查看文件
@@ -5,7 +5,8 @@
inline double DYLevelDelta(CGPoint first, CGPoint second, double aspect, bool vertical) {
const double angle = std::atan2(second.y - first.y, (second.x - first.x) * aspect);
return std::remainder((vertical ? M_PI_2 : 0.) - angle, M_PI);
const double delta = std::remainder((vertical ? M_PI_2 : 0.) - angle, M_PI);
return delta <= -M_PI_2 + 1e-12 ? M_PI_2 : delta;
}
// Coordinates are normalized to a top-down image. Rotation is measured in