mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-12 13:58:28 +00:00
Prepare for follow-on change
This commit is contained in:
parent
275a41dfe8
commit
3180351b8b
@ -125,7 +125,8 @@ impl<const D: usize> Circle<D> {
|
|||||||
) -> Point<1> {
|
) -> Point<1> {
|
||||||
let point = point.into();
|
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 atan = Scalar::atan2(b, a);
|
||||||
let coord = if atan >= Scalar::ZERO {
|
let coord = if atan >= Scalar::ZERO {
|
||||||
|
Loading…
Reference in New Issue
Block a user