Enable back face culling
This commit is contained in:
		@@ -167,6 +167,7 @@ int main() {
 | 
			
		||||
  glViewport(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT);
 | 
			
		||||
 | 
			
		||||
  glEnable(GL_DEPTH_TEST);
 | 
			
		||||
  glEnable(GL_CULL_FACE);
 | 
			
		||||
 | 
			
		||||
  std::vector<Vertex> vertices = {
 | 
			
		||||
    // positions                           // normals                      // texture coords
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user