MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / SetCulling

Method SetCulling

src/Renderer/Renderer.cpp:397–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397void Renderer::SetCulling(bool toCull) {
398 if (toCull) {
399 glEnable(GL_CULL_FACE);
400 } else {
401 glDisable(GL_CULL_FACE);
402 }
403}
404
405void Renderer::DrawUI(ParamData *preferences, glm::vec3 worldPosition) {
406 // Draw Shadow Map

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected