Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@bdero
Copy link
Member

@bdero bdero commented Aug 18, 2022

Used by #35491.

@bdero bdero requested review from chinmaygarde and dnfield August 18, 2022 19:11
@bdero bdero self-assigned this Aug 18, 2022
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bdero bdero added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 18, 2022
}

constexpr Radians AngleTo(const TPoint& p) const {
return Radians{std::atan2(this->Cross(p), this->Dot(p))};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I was looking at Chromium code related to this recently and there's some note about atan2 not being precise enough on macOS. I can try to dig it up if we think it's important here.

We may want to document that this method is expensive and backed by atan2, although probably anyone who cares enough to read it will know that...

Copy link
Member Author

@bdero bdero Aug 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be interested in seeing this -- I wonder if the libcxx we use is the same and/or if that leaves us in a different situation. High precision happens to not be super important for how we're using it in the blur, but it may become important for future uses.

@auto-submit
Copy link
Contributor

auto-submit bot commented Aug 18, 2022

  • The status or check suite Linux Android AOT Engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 18, 2022
@chinmaygarde
Copy link
Member

Blocked on an infra issue flutter/flutter#109797

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants