Closed Imberflur closed 3 years ago
Interesting, PR #70 is a bit related. Although, I understand how what is being asked here is slightly different, and I agree that it would be elegant.
I'll look into this today.
I closed this in a commit, but I still need to wait for CI to greenlight this. When it's OK, I'll publish a new version with this feature.
Version 0.14.1 has been published just now with this feature. Thanks!
Right now this either has to be done by:
or
where it could just be
And this would be really convenient in creating APIs that take
Into<Vec3<T>>
since then just(vec2, z)
could be passed in instead of having to convert it.