mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-28 18:15:53 +00:00
Simplify variable name
This commit is contained in:
parent
616a2b01e0
commit
753dfe359a
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user