Simplify variable name

This commit is contained in:
Hanno Braun 2023-02-16 12:56:42 +01:00
parent 616a2b01e0
commit 753dfe359a

View File

@ -65,13 +65,13 @@ impl Arc {
}; };
let end_angle = { let end_angle = {
let center_to_end = p1 - center; let center_to_end = p1 - center;
let end_angle_offset = if more_than_half_turn { let offset = if more_than_half_turn {
Scalar::TAU Scalar::TAU
} else { } else {
Scalar::ZERO Scalar::ZERO
}; };
center_to_end.v.atan2(center_to_end.u) + end_angle_offset center_to_end.v.atan2(center_to_end.u) + offset
}; };
Self { Self {
center, center,