Original Post
I have the following struct:
struct Vertex
{
float x, y, z;
float nx, ny, nz;
float tu, tv;
}; What's wrong with the following instantiations? Vertex v[3];
v[0]={-1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f};
v[1]={0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.5f, 0.0f};
v[2]={1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f}; Thanks. -Nick