main function in embree namespace */
| 300 | |
| 301 | /* main function in embree namespace */ |
| 302 | int main(int argc, char** argv) |
| 303 | { |
| 304 | g_device = rtcNewDevice(nullptr); |
| 305 | |
| 306 | /* create stream for parsing */ |
| 307 | Ref<ParseStream> stream = new ParseStream(new CommandLineStream(argc, argv)); |
| 308 | |
| 309 | /* parse command line */ |
| 310 | parseCommandLine(stream, FileName()); |
| 311 | |
| 312 | rtcReleaseDevice(g_device); g_device = nullptr; |
| 313 | return 0; |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | int main(int argc, char** argv) |
nothing calls this directly
no test coverage detected