Implemented depth clamping

This commit is contained in:
CobaltXII
2018-12-30 15:19:02 -05:00
parent 04b803d622
commit f5f77ededa

View File

@@ -99,7 +99,11 @@ int main(int argc, char** argv)
exit(5);
}
// Set up preliminaries for backface culling.
// Set up depth clamping.
glEnable(GL_DEPTH_CLAMP);
// Set up backface culling.
glCullFace(GL_BACK);