forked from 1b-agent/opencadstudio-upstream
fix: restore workspace verification
This commit is contained in:
1 parent
d36134900d
commit
1dded7f881
19 files changed
+91
-71
No files matched your search
@@ -45,12 +45,6 @@ pub fn line_line(
|
||||
geom2d::line_line([px, py], [dx, dy], [qx, qy], [ex, ey])
|
||||
}
|
||||
|
||||
/// Line parameters where `p + t·d` meets a circle: none, one when tangent, or
|
||||
/// two ordered by increasing `t`.
|
||||
pub fn line_circle(px: f64, py: f64, dx: f64, dy: f64, cx: f64, cy: f64, r: f64) -> Vec<f64> {
|
||||
geom2d::line_circle([px, py], [dx, dy], [cx, cy], r)
|
||||
}
|
||||
|
||||
pub fn line_points(start: [f64; 3], end: [f64; 3]) -> Vec<[f32; 3]> {
|
||||
narrow(vec![start, end])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user