Original Post
is it legal to have constructors (even overloaded) in a struct?
i tried this with no errors, but when i change something that is remotely related to this, i get weird errors.
i had something to this effect...
struct Vertex {
Vertex( float px, float py float pz ) {
x = px;
y = py;
z = pz;
}
Vertex() {
x = y = z = 0.0f;
}
float x, y, z;
float tu, tv;
};