I made a 3d model engine and the wire version works fine but the solid version dosnt seem to like to work. It draws this really messed up thing(shown below). The wire version draws fine(also shown below).
Can someone tell me whats wrong with the solid code?
thx nuke
There two versions are loaded from the same file it should look like a gun.
Wire version

Solid version
void Draw()
{
AXIS axy;
int a = 0;
glBegin(GL_QUADS); /*im pretty sure its something with this line here but i dont know what to replace it with and opengl.org didnt help*/
while(Print(ngc, a, &axy))
{
glVertex3f(axy.x, axy.y, axy.z);
a++;
}
glEnd();
}
[edited by - nukem on June 9, 2002 2:19:21 AM]
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind