Sign in to follow this  

glVertex2f and glVertex3f

Recommended Posts

Greetings How do glVertex2f and glVertex3f work together in a scene? If I drew a cube on the screen using glVertex3f and then drew a square with glVertex2f would the square be on top? If I switched the order would the cube be on top? I guess I'm really wondering what the z vaule is set to for glVertex2f. Thanks.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this