Hi, how can i make a vec2, vec3 and vec4 to work with SDL, I know there is vec in openGL, but i want my 2d games to only run using SDL, and i want this vec to be pass in other classes
Popular Topics
Advertisement
Hi, how can i make a vec2, vec3 and vec4 to work with SDL, I know there is vec in openGL, but i want my 2d games to only run using SDL, and i want this vec to be pass in other classes
Are you trying to use GLSL constructs in a C++ program?
There are a few math libs you can use or write your own vector and matrix math code, but this is not in the C++ standard on its own.