Replies: 2 comments
-
Hi, yep that sounds good, thanks! In case you aren't familiar with glam internals, you need to make the change in |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah it turns out this is not currently possible because Vec3::from_vec4 invokes deref to access the x,y & z values which can't be done in a const context. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
All of the implementations of
Vec3A::from_vec4
do not seem to require non-const functionality, so marking them all asconst fn
will increase their versatility for API consumers.Beta Was this translation helpful? Give feedback.
All reactions