Closed kvark closed 7 years ago
also r? @nox @nical if interested for a bit
Why can't the marker be a private field?
I agree with @Ralith that units look out of scope in that crate.
@nox Thanks for taking a look!
Why can't the marker be a private field?
I originally thought that hiding markers is a bad idea because there will be a need for new()
constructors, and methods/functions are out of scope for the library. But then, I think it's fine, given that we can do Type::from([...])
. The markers are hidden now.
I agree with @Ralith that units look out of scope in that crate.
I don't think that's what @Ralith says. I read their words as - providing Euler angles is unfortunate, but if that's what's needed, then the way this PR choose to do it is right.
It's not a discussion/PR about units.
methods/functions are out of scope for the library.
Then IMO units are out of scope too.
It's not a discussion/PR about units.
This discussion needs to happen nonetheless, given you add units in it.
This discussion needs to happen nonetheless, given you add units in it.
I think that the PhantomData is about the left/right-handedness of the quaternions, and not units.
Oh! Makes sense. Disregard me.
Thanks everyone!
Fixes #7 Fixes #9
r? @Ralith