MCPcopy Index your code
hub / github.com/ad-si/LuaCAD / render

Function render

OpenCSG/src/opencsgRender.cpp:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void render(const std::vector<Primitive*>& primitives)
108 {
109 OpenGL::ensureFunctionPointers();
110
111 Algorithm algorithm = (Algorithm)getOption(AlgorithmSetting);
112 DepthComplexityAlgorithm depthComplexityAlgorithm = (DepthComplexityAlgorithm)getOption(DepthComplexitySetting);
113
114 renderDispatch(primitives, algorithm, depthComplexityAlgorithm);
115 }
116
117} // namespace OpenCSG

Callers 1

Calls 3

ensureFunctionPointersFunction · 0.85
getOptionFunction · 0.85
renderDispatchFunction · 0.85

Tested by

no test coverage detected