Just wondering. What do you see as the 'boundary' when you prefer a class versus a struct?
Was thinking about this when I was adding functions to my VECTOR3 struct, the number of operators has grown, and I'm thinking of also adding (inline) functions for cross- and dot- product. Included are already getting the magnitude and normalizing.
For now I don't see reasons to move from a struct to a class.
Operators work nice and do exactly what I want without to much code (not even sure how to do that within a class.....)
Somehow my mind says, as long as it's a relatively 'simple' object, just use a struct and don't 'waste classes' on it (not sure though how to explain this rationally )
What are your thoughts?