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

c++ version of this crate #3

Open
porky11 opened this issue Oct 4, 2017 · 1 comment
Open

c++ version of this crate #3

porky11 opened this issue Oct 4, 2017 · 1 comment

Comments

@porky11
Copy link

porky11 commented Oct 4, 2017

You may look at this if you don't really understand.
https://github.com/wolftype/versor
I fear, that in current rust, something like this is not possible, because of the many constexpr functions. I'm not sure yet if this can be fixed using typenum and generic arrays, or if we have to wait for rust getting const generics (which already seem to be accepted).
I would like to have something like versor in rust, but with more explicit typing unlike the c++ version.
Maybe you already know this, because you tried to implement this, and wanted to make something similar. But if not this could be a good reference.

@WaDelma
Copy link
Owner

WaDelma commented Oct 5, 2017

Yeah, I am pretty much waiting for const generics at this point as typenum/generic-array gets extremely flaky if I do constant to some power and I don't think I can get around that.

Good to have something that I can reference to!

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

No branches or pull requests

2 participants