prog.cpp:1:6: error: 'Mesh' has not been declared
void Mesh::Draw()
^
prog.cpp: In function 'void Draw()':
prog.cpp:3:15: error: 'glPushMatrix' was not declared in this scope
glPushMatrix();
^
prog.cpp:4:23: error: 'GL_NORMAL_ARRAY' was not declared in this scope
glEnableClientState(GL_NORMAL_ARRAY);
^
prog.cpp:4:38: error: 'glEnableClientState' was not declared in this scope
glEnableClientState(GL_NORMAL_ARRAY);
^
prog.cpp:5:23: error: 'GL_TEXTURE_COORD_ARRAY' was not declared in this scope
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
^
prog.cpp:6:23: error: 'GL_COLOR_ARRAY' was not declared in this scope
glEnableClientState(GL_COLOR_ARRAY);
^
prog.cpp:7:23: error: 'GL_VERTEX_ARRAY' was not declared in this scope
glEnableClientState(GL_VERTEX_ARRAY);
^
prog.cpp:10:19: error: 'GL_FLOAT' was not declared in this scope
glNormalPointer(GL_FLOAT, 0, vArray->normal);
^
prog.cpp:10:32: error: 'vArray' was not declared in this scope
glNormalPointer(GL_FLOAT, 0, vArray->normal);
^
prog.cpp:10:46: error: 'glNormalPointer' was not declared in this scope
glNormalPointer(GL_FLOAT, 0, vArray->normal);
^
prog.cpp:11:48: error: 'glColorPointer' was not declared in this scope
glColorPointer(3, GL_FLOAT, 0, vArray->colour);
^
prog.cpp:12:47: error: 'glTexCoordPointer' was not declared in this scope
glTexCoordPointer(2, GL_FLOAT, 0, vArray->uv);
^
prog.cpp:13:43: error: 'glVertexPointer' was not declared in this scope
glVertexPointer(3,GL_FLOAT,0,vArray->pos);
^
prog.cpp:15:19: error: 'GL_TEXTURE0' was not declared in this scope
glActiveTexture(GL_TEXTURE0);
^
prog.cpp:15:30: error: 'glActiveTexture' was not declared in this scope
glActiveTexture(GL_TEXTURE0);
^
prog.cpp:16:17: error: 'GL_TEXTURE_2D' was not declared in this scope
glBindTexture(GL_TEXTURE_2D, m_Texture[0]);
^
prog.cpp:16:32: error: 'm_Texture' was not declared in this scope
glBindTexture(GL_TEXTURE_2D, m_Texture[0]);
^
prog.cpp:16:44: error: 'glBindTexture' was not declared in this scope
glBindTexture(GL_TEXTURE_2D, m_Texture[0]);
^
prog.cpp:17:16: error: 'GL_TRIANGLES' was not declared in this scope
glDrawArrays(GL_TRIANGLES,0,numVerts);
^
prog.cpp:17:31: error: 'numVerts' was not declared in this scope
glDrawArrays(GL_TRIANGLES,0,numVerts);
^
prog.cpp:17:39: error: 'glDrawArrays' was not declared in this scope
glDrawArrays(GL_TRIANGLES,0,numVerts);
^
prog.cpp:19:39: error: 'glDisableClientState' was not declared in this scope
glDisableClientState(GL_NORMAL_ARRAY);
^
prog.cpp:23:14: error: 'glPopMatrix' was not declared in this scope
glPopMatrix();
^