needed-libraries
needed-libraries copied to clipboard
Built in efficient vec2/3/4 types, everyone duplicates that
(From Nim community survey 2017)
We had base2d
and base3d
as part if standard library but they were a little awkward and people did not like them. So they got moved out.
I have a library with vec2/3/4 types I can put up, but I feel like everyone would just write their own versions anyways.
well it's not built in, but this is basically standard. Though no simd support.
https://github.com/stavenko/nim-glm
https://github.com/fragcolor-xyz/fragments/blob/master/fragments/math/vectors.nim
Full SIMD support thru gcc/clang vectorization