From 3180351b8b86500c9ef7f71779ba5532d3868a4a Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 17 Apr 2025 14:43:01 +0200 Subject: [PATCH] Prepare for follow-on change --- crates/fj-math/src/circle.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/fj-math/src/circle.rs b/crates/fj-math/src/circle.rs index 0987bc40d..fc11a7488 100644 --- a/crates/fj-math/src/circle.rs +++ b/crates/fj-math/src/circle.rs @@ -125,7 +125,8 @@ impl Circle { ) -> Point<1> { let point = point.into(); - let [a, b] = (point - self.center).to_uv().components; + let center_to_point = point - self.center; + let [a, b] = center_to_point.to_uv().components; let atan = Scalar::atan2(b, a); let coord = if atan >= Scalar::ZERO {