-
Notifications
You must be signed in to change notification settings - Fork 24
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
collision-rs out of sync with cgmath #108
Comments
Another way to get us stable across |
Unfortunately I'm unable to find some time to work on this right now, so hopping anyone else will do. |
I've created a sync'd version of collision-rs in my folder https://github.com/trsoluti/collision-rs that also has been updated to rust-2018 and reduces some of the double-dependencies (e.g. uses traits re-exported from cgmath instead of importing them directly from the source library). It solves my test case. Someone please take a look at it, see if it's okay, and guide me through the pull request process. Thanks in advance. |
@trsoluti please file a PR right away for the review, it doesn't have to be perfect ;) |
The updated collision-rs is still not on Crates.io. How to push it? (I want to update rhusics next.) |
Sorry about the delay! |
Here's a strange problem that cost me an afternoon:
If I compile a program with the latest collision-rs and the latest cgmath, I get the following error message on my types:
the trait EuclideanSpace is not implemented for cgmath::point::Point2<f32>
(This is for the constraint
P::Point: EuclideanSpace
, which is used by amethyst-rhusics.)Here is a simple snippet that reproduces the problem:
It seems as if you need a crate-version of collision-rs for every crate-version of cgmath, so a user can pick the right pair.
The text was updated successfully, but these errors were encountered: