bitshifter / glam-rs

A simple and fast linear algebra library for games and graphics
Apache License 2.0
1.5k stars 152 forks source link

Element-wise sum and product for vectors. (#462) #465

Closed Ababwa closed 8 months ago

Ababwa commented 8 months ago

Compiler can't find Which in std::simd. Not sure what to do here. https://doc.rust-lang.org/std/simd/enum.Which.html

bitshifter commented 8 months ago

The docs might be out of date. I think they got rid of First and Second, numbers should be the same as what wasm uses now.

Ababwa commented 8 months ago

Made some revisions. Should be good now.

Ababwa commented 8 months ago

Closing to change fork branch.