mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-29 21:46:55 +00:00
Prepare for follow-on change
This commit is contained in:
parent
12d80489a0
commit
ce5a882793
@ -60,7 +60,8 @@ impl Sketch {
|
||||
|
||||
let distance_from_midpoint_to_center = {
|
||||
let d = start_to_end.magnitude() / 2.;
|
||||
(radius * radius - d * d).sqrt()
|
||||
let distance_square = radius * radius - d * d;
|
||||
distance_square.sqrt()
|
||||
};
|
||||
|
||||
let center = midpoint
|
||||
|
Loading…
x
Reference in New Issue
Block a user