mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 09:58:27 +00:00
Prepare for follow-on change
This commit is contained in:
parent
75277d1e39
commit
275a41dfe8
@ -125,9 +125,9 @@ impl<const D: usize> Circle<D> {
|
||||
) -> Point<1> {
|
||||
let point = point.into();
|
||||
|
||||
let vector = (point - self.center).to_uv();
|
||||
let [a, b] = (point - self.center).to_uv().components;
|
||||
|
||||
let atan = Scalar::atan2(vector.v, vector.u);
|
||||
let atan = Scalar::atan2(b, a);
|
||||
let coord = if atan >= Scalar::ZERO {
|
||||
atan
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user