what would be the most likely equivilence for a struct? C programmers LOVE structs, but as a noob C++ programmer, I'm not well versed with them.
EX:
Would a class replace a struct? If a class wasn't necessarily the best way to go, is there another way to do this without using struct?Code:typedef struct{ float x, y; float z; float r, g, b; } Vert; typedef struct{ int n; Vert *verts; }Poly;
thanks for not flaming me too bad
tms