| 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 | { |
no test coverage detected