You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem does this solve or what need does it fill?
Currently Vec3 provides extend(w) to unproject into homogeneous coordinates (hence Vec4 with euclidean hyperspace w - maybe I missed it, but there is no inverse to extend() or the documentation misses to mention it.
As we'll probably just inhale the update from glam when it's ready. Closing this issue as it's unactionable from Bevy's end. If for whatever reason this dosen't get added to glam, feel free to reopen this issue.
What problem does this solve or what need does it fill?
Currently
Vec3
providesextend(w)
to unproject into homogeneous coordinates (henceVec4
with euclidean hyperspacew
- maybe I missed it, but there is no inverse toextend()
or the documentation misses to mention it.What solution would you like?
I would prefer to write something like this
transform.translation = view.w_axis.project()
rather than
transform.translation = view.w_axis.xyz() / view.w_axis.w;
My example is now for
Vec4
... same applies to homogeneous representations ofVec2
in vectorspace R3 usingVec3
What alternative(s) have you considered?
Keep writing rather obvious code
The text was updated successfully, but these errors were encountered: