| 401 | OSPRAY_CATCH_END(nullptr) |
| 402 | |
| 403 | extern "C" OSPGeometry ospNewGeometry(const char *_type) OSPRAY_CATCH_BEGIN |
| 404 | { |
| 405 | THROW_IF_NULL_STRING(_type); |
| 406 | ASSERT_DEVICE(); |
| 407 | OSPGeometry geometry = currentDevice().newGeometry(_type); |
| 408 | return geometry; |
| 409 | } |
| 410 | OSPRAY_CATCH_END(nullptr) |
| 411 | |
| 412 | extern "C" OSPVolume ospNewVolume(const char *_type) OSPRAY_CATCH_BEGIN |
no test coverage detected