refactor: replace angle calculations with radians for consistency

This commit is contained in:
Hakan Seven 2026-05-03 21:58:38 +03:00
commit 603d07412e
11 changed files with 98 additions and 99 deletions

View file

@ -394,8 +394,8 @@ fn entity_wire_pts(e: &EntityType) -> Vec<[f32; 3]> {
.collect()
}
EntityType::Arc(a) => {
let a0 = norm_rad(a.start_angle.to_radians());
let a1 = norm_rad(a.end_angle.to_radians());
let a0 = norm_rad(a.start_angle);
let a1 = norm_rad(a.end_angle);
let span = {
let s = a1 - a0;
if s <= 0.0 {