MCPcopy Create free account
hub / github.com/RenderKit/embree / main

Method main

tutorials/common/tutorial/tutorial.cpp:1153–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151 }
1152
1153 int TutorialApplication::main(int argc, char** argv) try
1154 {
1155 /* parse command line options */
1156 parseCommandLine(argc,argv);
1157
1158 /* callback */
1159 postParseCommandLine();
1160
1161 /* create embree device */
1162 create_device();
1163
1164 /* start tutorial */
1165 run(argc,argv);
1166 return 0;
1167 }
1168 catch (const std::exception& e) {
1169 std::cout << "Error: " << e.what() << std::endl;
1170 return 1;
1171 }
1172 catch (...) {
1173 std::cout << "Error: unknown exception caught." << std::endl;
1174 return 1;
1175 }
1176
1177 int SceneLoadingTutorialApplication::main(int argc, char** argv) try
1178 {

Callers 5

mainFunction · 0.45
mainFunction · 0.45
renderBenchFuncFunction · 0.45
renderBenchmarkLegacyFunction · 0.45
mainFunction · 0.45

Calls 15

runFunction · 0.85
toLowerCaseFunction · 0.85
loadOBJFunction · 0.85
CameraClass · 0.85
extMethod · 0.80
logMethod · 0.80
triangles_to_quadsMethod · 0.80
bezier_to_linesMethod · 0.80
bezier_to_bsplineMethod · 0.80
bspline_to_bezierMethod · 0.80
bezier_to_hermiteMethod · 0.80
flat_to_round_curvesMethod · 0.80

Tested by

no test coverage detected