feat(draw): add fluid tangent arc, circle, and line construction with ellipse support

This commit is contained in:
yztink committed 2026-09-28 01:56:03 -07:00
1 parent 7c0af700e8
commit 92fa661065
11 files changed
+2750 -212

No files matched your search

+7 -4
View File
@@ -248,10 +248,13 @@ impl CylinderCommand {
else {
return None;
};
let candidates = crate::modules::draw::draw::circle::ttr_candidates(first, second, radius);
let local = crate::modules::draw::draw::circle::best_of(
&candidates,
(first_hit + second_hit) * 0.5,
let local = crate::modules::draw::draw::circle::pick_best_ttr_candidate(
first,
second,
radius,
first_hit,
second_hit,
None,
)?;
Some(self.plane.to_world(local))
}