mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-12 11:41:56 +00:00
solidcore: derive turns its axis with *= (clippy's assign_op_pattern)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1936,7 +1936,7 @@ impl AnalyticSupport {
|
||||
}
|
||||
let mut axis = along * (1.0 / length);
|
||||
if axis.dot(axis_r) < 0.0 {
|
||||
axis = axis * -1.0;
|
||||
axis *= -1.0;
|
||||
}
|
||||
let origin = c0 + axis * (placement_r.origin() - c0).dot(axis);
|
||||
let xr = placement_r.x_axis();
|
||||
|
||||
Reference in New Issue
Block a user