Brendan Zabarauskas
Brendan Zabarauskas
So it seems like all floats support `From`. This would allow for things like `S::from(1.0)`. Unfortunately the integer situation is more complex. All integers `From`. All unsigned integers `From`. But...
Yeah, I think I was trying to avoid folks implicitly converting away the units all the time, but it might be nicer to have this. `.0` is so ugly. 🤢
Yeah, I'm not sure - just playing around still. :/
Another option might be to have an `Origin` marker struct [like in CGAL](http://doc.cgal.org/latest/Kernel_23/index.html#Kernel_23PointsandVectors): ``` rust struct Origin; impl Sub for Point3 { type Output = Vector3; #[inline] fn sub(self, Origin:...
This is to do with the naming of the methods, which #320 doesn't touch yet.
Nice! Also note that I also have some bugs with my other quaternion functions that might also be contributing. See #285 and #290.
Aha, interesting! Will have to think about what the best API/naming should be
How likely is it that there are other coordinate systems? And will we need this for the other transformation types? cc. @mhintz
This would be super cool. Not sure how best to do it though. The traits have been designed in such a way as to allow that though.
Not sure! Feel free to chat to me on Gitter: https://gitter.im/brendanzab/cgmath