mikeg
08-20-2004, 08:05 AM
I created a cube using
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT,0,vertices);
glDrawElement(GL_QUADS,24,GL_UNSIGNED_BYTE,indices );
this provides a solid cube with no outline for each face. how do i outline each face?
thanks. mike
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT,0,vertices);
glDrawElement(GL_QUADS,24,GL_UNSIGNED_BYTE,indices );
this provides a solid cube with no outline for each face. how do i outline each face?
thanks. mike