Gnollrunner said:
In my code I have some sequence of capital letters that prefixes anything that's global
Maybe it's because I'm from a C# background but this is a pain in my eyes. I know it is widely used by some major projects like our in-house engine or Unreal Engine as well but to me it is a pain in the a. There is nothing wrong about using well chosen namespaces and explicit include statements.
All of our (hobby) engine project is scoped like this. We have a namespace for everything we need in the core but that's not meant to be by the user/developer in it's own namespace and everything else in the global engine namespace. Our tool generates projects in a way that we're always able to include from the project head and so we can also “scope” our include statements for example by category (Common, Math, Storage, Graphics etc.) as everything ins categorized by a subfolder.
fleabay said:
just want to switch it to be v3 etc
If you are using it on your own, this might be ok but at the moment another person is using your code, you should consider keeping it that way you already have. vec3 and mat4 are commonly used but nobody will know what a v3 data type is