Replies: 1 comment
-
|
@kzhsw sorry for the delay, I guess I miss this or forget to answer, yes there could be |
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.
-
In box.h, functions are currently operating on
vec3, which compiles to scalar functions even if the most aggressive compiler flags enabled.If somehow users need to optimize for better performance, even at the cost of 25% memory overhead (aligning vec3 to vec4), maybe there could some functions for this case.
Link to compiler results, taking
glm_aabb_mergeas an example: https://godbolt.org/z/YsfPG9757This might also apply to similar
vec3functions likeeulerandray.Beta Was this translation helpful? Give feedback.
All reactions