Original Post
I am trying to make a single class that will probably have to be a template class.... I am guessing on that.
I would like to have a class that allows any format based on some variable that are set at time of creation.
I may have a vertex with texCoords, normals or texCoords, normals, tangents ect....
I am out of ideas on how to accomplish this now, I have as of now many different classes one for each scenario and would like to combine them into one if that is possible?
Thanks!
I would like to have a class that allows any format based on some variable that are set at time of creation.
I may have a vertex with texCoords, normals or texCoords, normals, tangents ect....
I am out of ideas on how to accomplish this now, I have as of now many different classes one for each scenario and would like to combine them into one if that is possible?
Thanks!