Match RAY command behavior

This commit is contained in:
ramox81 committed 2026-09-11 10:23:42 +03:00
1 parent 7d0c059b30
commit 452e61121b
1 file changed
+3
+3
View File
@@ -50,6 +50,9 @@ impl CadCommand for RayCommand {
}
fn on_point(&mut self, pt: DVec3) -> CmdResult {
if !pt.is_finite() {
return CmdResult::NeedPoint;
}
if let Some(base) = self.base {
let dir = pt - base;
let len = dir.length();