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
753dfe359a
commit
4794b3d251
@ -64,14 +64,14 @@ impl Arc {
|
||||
center_to_start.v.atan2(center_to_start.u)
|
||||
};
|
||||
let end_angle = {
|
||||
let center_to_end = p1 - center;
|
||||
let from_center = p1 - center;
|
||||
let offset = if more_than_half_turn {
|
||||
Scalar::TAU
|
||||
} else {
|
||||
Scalar::ZERO
|
||||
};
|
||||
|
||||
center_to_end.v.atan2(center_to_end.u) + offset
|
||||
from_center.v.atan2(from_center.u) + offset
|
||||
};
|
||||
Self {
|
||||
center,
|
||||
|
Loading…
Reference in New Issue
Block a user