GlClear (GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
GlEnable (GL_DEPTH_TEST);
GlDepthFunc (GL_LEQUAL);
But I don't know why can appear such circumstance, also hope to get down to help wow, thank you!

Figure 1

Figure 2
CodePudding user response:
Search online tutorial "learning OpenGL 3 d games",CodePudding user response:
Which chapter related content? If you know if you could help me to solve it? Compare the worry ~CodePudding user response:
Note the difference between the left hand coordinate system and right hand coordinate system,CodePudding user response:
How do you spin? Is a rotating object or change the viewpoints in the LookAt position?