Batched transforms #539
-
hi! I was wondering what is the glamorous way to perform let's say a batched transform e.g A x = b where A is 3x3 and x is Nx3. Thanks ! nice library |
Beta Was this translation helpful? Give feedback.
Answered by
bitshifter
Jul 15, 2024
Replies: 1 comment 1 reply
-
Converted to a discussion since it's not a bug / feature request. :) glam doesn't really offer anything special for batching. It may be worthwhile using |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bitshifter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Converted to a discussion since it's not a bug / feature request. :)
glam doesn't really offer anything special for batching.
It may be worthwhile using
Mat3A
andVec3A
because they use explicit SIMD but it may or may not be worthwhile depending on how you load and store your data, you'd have to benchmark it to see if it helped.