mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-22 15:15:52 +00:00
Remove redundant comment
This commit is contained in:
parent
0bbd5ab911
commit
57eaaabda5
@ -62,7 +62,6 @@ impl Arc {
|
|||||||
(p1 - p0) / distance_between_endpoints * uv_factor;
|
(p1 - p0) / distance_between_endpoints * uv_factor;
|
||||||
let unit_vector_midpoint_to_center =
|
let unit_vector_midpoint_to_center =
|
||||||
Vector::from([-unit_vector_p0_to_p1.v, unit_vector_p0_to_p1.u]);
|
Vector::from([-unit_vector_p0_to_p1.v, unit_vector_p0_to_p1.u]);
|
||||||
// (cx, cy) is the center of the circle
|
|
||||||
let center = Point {
|
let center = Point {
|
||||||
coords: (p0.coords + p1.coords) / 2.
|
coords: (p0.coords + p1.coords) / 2.
|
||||||
+ unit_vector_midpoint_to_center * distance_center_to_midpoint,
|
+ unit_vector_midpoint_to_center * distance_center_to_midpoint,
|
||||||
|
Loading…
Reference in New Issue
Block a user