Remove redundant comment

This commit is contained in:
Hanno Braun 2023-02-15 14:51:31 +01:00
parent 0bbd5ab911
commit 57eaaabda5

View File

@ -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,