forked from 1b-agent/opencadstudio-upstream
chore(solid): drop needless mut on full_circle
`full_circle` from `angular_range` is only read, never reassigned — clears the unused-mut warning. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
f491e8436b
commit
cbf454979d
1 file changed
+1
-1
@@ -683,7 +683,7 @@ fn tess_cone_face(
|
|||||||
let v_dir = cross3(axis, u_dir);
|
let v_dir = cross3(axis, u_dir);
|
||||||
|
|
||||||
// Determine height and angle range from boundary vertices.
|
// Determine height and angle range from boundary vertices.
|
||||||
let (mut h_min, mut h_max, mut theta_min, mut theta_max, mut full_circle) =
|
let (mut h_min, mut h_max, mut theta_min, mut theta_max, full_circle) =
|
||||||
angular_range(cx, cy, cz, axis, u_dir, v_dir, &poly);
|
angular_range(cx, cy, cz, axis, u_dir, v_dir, &poly);
|
||||||
|
|
||||||
// A full cylinder/cone face is bounded by a single closed rim, so the
|
// A full cylinder/cone face is bounded by a single closed rim, so the
|
||||||
|
|||||||
Reference in new issue
Block a user