Aligned 2Lines: place the second line where the reference leaves it

The second line kept its midpoint and turned around it, so it settled at a
different offset than the reference, which keeps the line's start along the
first line and moves it to the distance the picked point had from it.

Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5 committed 2026-09-23 09:47:56 +03:00
1 parent 133bfddba9
commit 48b8689fc3
4 files changed
+183 -15

No files matched your search

+3
View File
@@ -1676,6 +1676,9 @@ pub enum CmdResult {
MakeParallel {
first_line: crate::scene::parametric_constraints::ParametricRef,
first_ends: [crate::scene::parametric_constraints::ParametricRef; 2],
/// Where the first line was picked: the second line settles at the
/// distance this point had from it.
first_pick: DVec3,
second_line: crate::scene::parametric_constraints::ParametricRef,
second_ends: [crate::scene::parametric_constraints::ParametricRef; 2],
},