mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-28 04:56:30 +00:00
Update name of variable
This commit is contained in:
parent
c5c7f76f45
commit
3b11cef8d5
@ -67,8 +67,8 @@ impl Sketch {
|
|||||||
// - `c` (hypotenuse): `end` to circle center (which
|
// - `c` (hypotenuse): `end` to circle center (which
|
||||||
// is `radius`)
|
// is `radius`)
|
||||||
|
|
||||||
let d = start_to_end.magnitude() / 2.;
|
let a = start_to_end.magnitude() / 2.;
|
||||||
let distance_square = radius * radius - d * d;
|
let distance_square = radius * radius - a * a;
|
||||||
distance_square.sqrt()
|
distance_square.sqrt()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user