| 392 | OSPRAY_CATCH_END(nullptr) |
| 393 | |
| 394 | extern "C" OSPCamera ospNewCamera(const char *_type) OSPRAY_CATCH_BEGIN |
| 395 | { |
| 396 | THROW_IF_NULL_STRING(_type); |
| 397 | ASSERT_DEVICE(); |
| 398 | OSPCamera camera = currentDevice().newCamera(_type); |
| 399 | return camera; |
| 400 | } |
| 401 | OSPRAY_CATCH_END(nullptr) |
| 402 | |
| 403 | extern "C" OSPGeometry ospNewGeometry(const char *_type) OSPRAY_CATCH_BEGIN |
no test coverage detected