| 153 | } |
| 154 | |
| 155 | extern "C" OPENPGL_DLLEXPORT pgl_box3f pglFieldGetSceneBounds(PGLField field) |
| 156 | { |
| 157 | auto *gField = (IGuidingField *)field; |
| 158 | openpgl::BBox sceneBounds = gField->getSceneBounds(); |
| 159 | pgl_box3f bounds; |
| 160 | bounds.lower.x = sceneBounds.lower.x; |
| 161 | bounds.lower.y = sceneBounds.lower.y; |
| 162 | bounds.lower.z = sceneBounds.lower.z; |
| 163 | |
| 164 | bounds.upper.x = sceneBounds.upper.x; |
| 165 | bounds.upper.y = sceneBounds.upper.y; |
| 166 | bounds.upper.z = sceneBounds.upper.z; |
| 167 | |
| 168 | return bounds; |
| 169 | } |
| 170 | |
| 171 | extern "C" OPENPGL_DLLEXPORT void pglFieldUpdate(PGLField field, PGLSampleStorage sampleStorage) OPENPGL_CATCH_BEGIN |
| 172 | { |
no test coverage detected