Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added to_tuple() convenience functions #319

Merged
merged 1 commit into from Feb 24, 2019
Merged

Conversation

@agersant
Copy link
Contributor

agersant commented Feb 24, 2019

The goal of this change is to facilitate interop with other crates (such as https://github.com/Gekkio/imgui-rs) which expect geometric values represented as tuples.


This change is Reviewable

@nical
Copy link
Collaborator

nical commented Feb 24, 2019

Looks good to me. @bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Feb 24, 2019

📌 Commit 3d56620 has been approved by nical

@bors-servo
Copy link
Contributor

bors-servo commented Feb 24, 2019

Testing commit 3d56620 with merge c9e7fda...

bors-servo added a commit that referenced this pull request Feb 24, 2019
Added to_tuple() convenience functions

The goal of this change is to facilitate interop with other crates (such as https://github.com/Gekkio/imgui-rs) which expect geometric values represented as tuples.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/319)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 24, 2019

☀️ Test successful - checks-travis
Approved by: nical
Pushing c9e7fda to master...

@bors-servo bors-servo merged commit 3d56620 into servo:master Feb 24, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
@kvark
Copy link
Member

kvark commented Feb 25, 2019

@agersant

The goal of this change is to facilitate interop with other crates (such as https://github.com/Gekkio/imgui-rs) which expect geometric values represented as tuples.

FYI, mint was made for the exact reason of serving this case. It's already supported by euclid/cgmath/nalgebra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.