google / mathfu

C++ math library developed primarily for games focused on simplicity and efficiency.
http://google.github.io/mathfu
Apache License 2.0
1.39k stars 189 forks source link

matrix_4x4_simd.h is not included by default #33

Open nfrechette opened 5 years ago

nfrechette commented 5 years ago

It appears that the SIMD specialization for the Matrix 4x4 isn't included by default which means it defaults to scalar code. This differs from the Vector types which include the SIMD specializations by default.

lolanto commented 5 years ago

BTW. Where is the definition of Simd4Union. I'll be appreciative if any one can tell me

haroonq commented 5 years ago

Looks like it was deleted here:

https://github.com/google/mathfu/commit/5b551fee6ccb268f9a2bbbe96652114c26ed02f9#diff-a289be2a2ae231045093490e2a3f6e4dL36

FWIW, the definition was:

union Simd4fUnion { simd4f simd; float float_array[4]; };