Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Look into the Clang vector extensions. They're very similar to GLSL/OpenCL vectors. They implement some very basic operator overloading too, so they're much less annoying that calling a function for everything. I made a simple linear algebra library using them, if you want to see an example: https://github.com/GavinHigham/glla


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: