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
00e8f3ed82
commit
75277d1e39
@ -123,7 +123,9 @@ impl<const D: usize> Circle<D> {
|
|||||||
&self,
|
&self,
|
||||||
point: impl Into<Point<D>>,
|
point: impl Into<Point<D>>,
|
||||||
) -> Point<1> {
|
) -> Point<1> {
|
||||||
let vector = (point.into() - self.center).to_uv();
|
let point = point.into();
|
||||||
|
|
||||||
|
let vector = (point - self.center).to_uv();
|
||||||
|
|
||||||
let atan = Scalar::atan2(vector.v, vector.u);
|
let atan = Scalar::atan2(vector.v, vector.u);
|
||||||
let coord = if atan >= Scalar::ZERO {
|
let coord = if atan >= Scalar::ZERO {
|
||||||
|
Loading…
Reference in New Issue
Block a user