Our great sponsors
-
When I wrote it using c++ I used templates (just because you have to know the position w and such and it was convenient), and then the way I handled the interpolation for arbitrary number of fields was to one, only allow floats for everything, and two, use reinterpret_cast to treat it as a float array for interpolation purposes. I do have code for it: https://github.com/samueldong-us/Graphics-Software-Renderer/tree/master/SoftwareRenderer. The files of interest would be Shader.h, Renderer.h, and any of the *Shader h/cpp files like BasicShader. It is a bit old so it is ugly af.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.