needed-libraries icon indicating copy to clipboard operation
needed-libraries copied to clipboard

Built in efficient vec2/3/4 types, everyone duplicates that

Open alehander92 opened this issue 6 years ago • 3 comments

(From Nim community survey 2017)

alehander92 avatar Nov 16 '17 09:11 alehander92

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.

treeform avatar Nov 16 '17 21:11 treeform

well it's not built in, but this is basically standard. Though no simd support.

https://github.com/stavenko/nim-glm

krux02 avatar Mar 12 '18 17:03 krux02

https://github.com/fragcolor-xyz/fragments/blob/master/fragments/math/vectors.nim

Full SIMD support thru gcc/clang vectorization

sinkingsugar avatar Jan 11 '19 06:01 sinkingsugar