| 144 | OPENPGL_CATCH_END(0) |
| 145 | |
| 146 | extern "C" OPENPGL_DLLEXPORT void pglFieldSetSceneBounds(PGLField field, pgl_box3f bounds) |
| 147 | { |
| 148 | auto *gField = (IGuidingField *)field; |
| 149 | openpgl::BBox sceneBounds; |
| 150 | sceneBounds.lower = openpgl::Vector3(bounds.lower.x, bounds.lower.y, bounds.lower.z); |
| 151 | sceneBounds.upper = openpgl::Vector3(bounds.upper.x, bounds.upper.y, bounds.upper.z); |
| 152 | gField->setSceneBounds(sceneBounds); |
| 153 | } |
| 154 | |
| 155 | extern "C" OPENPGL_DLLEXPORT pgl_box3f pglFieldGetSceneBounds(PGLField field) |
| 156 | { |
no test coverage detected